GDS-Render v1.2.1
|
Data Structures | |
struct | render_settings |
This struct holds the renderer configuration. More... | |
struct | _RendererSettingsDialog |
Macros | |
#define | RENDERER_TYPE_SETTINGS_DIALOG (renderer_settings_dialog_get_type()) |
Enumerations | |
enum | output_renderer { RENDERER_LATEX_TIKZ , RENDERER_CAIROGRAPHICS_PDF , RENDERER_CAIROGRAPHICS_SVG } |
return type of the RedererSettingsDialog More... | |
enum | { PROP_CELL_NAME = 1 , PROP_COUNT } |
Functions | |
RendererSettingsDialog * | renderer_settings_dialog_new (GtkWindow *parent) |
Create a new RedererSettingsDialog GObject. More... | |
G_END_DECLS void | renderer_settings_dialog_set_settings (RendererSettingsDialog *dialog, struct render_settings *settings) |
Apply settings to dialog. More... | |
void | renderer_settings_dialog_get_settings (RendererSettingsDialog *dialog, struct render_settings *settings) |
Get the settings configured in the dialog. More... | |
void | renderer_settings_dialog_set_cell_width (RendererSettingsDialog *dialog, unsigned int width) |
renderer_settings_dialog_set_cell_width Set width for rendered cell More... | |
void | renderer_settings_dialog_set_cell_height (RendererSettingsDialog *dialog, unsigned int height) |
renderer_settings_dialog_set_cell_height Set height for rendered cell More... | |
void | renderer_settings_dialog_set_database_unit_scale (RendererSettingsDialog *dialog, double unit_in_meters) |
renderer_settings_dialog_set_database_unit_scale Set database scale More... | |
static void | renderer_settings_dialog_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) |
static void | renderer_settings_dialog_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) |
static void | renderer_settings_dialog_class_init (RendererSettingsDialogClass *klass) |
static void | show_tex_options (RendererSettingsDialog *self) |
static void | hide_tex_options (RendererSettingsDialog *self) |
static void | latex_render_callback (GtkToggleButton *radio, RendererSettingsDialog *dialog) |
static gboolean | shape_drawer_drawing_callback (GtkWidget *widget, cairo_t *cr, gpointer data) |
static double | convert_number_to_engineering (double input, const char **out_prefix) |
static void | renderer_settings_dialog_update_labels (RendererSettingsDialog *self) |
static void | scale_value_changed (GtkRange *range, gpointer user_data) |
static void | renderer_settings_dialog_init (RendererSettingsDialog *self) |
Variables | |
static GParamSpec * | properties [PROP_COUNT] |
#define RENDERER_TYPE_SETTINGS_DIALOG (renderer_settings_dialog_get_type()) |
Definition at line 51 of file conv-settings-dialog.h.
anonymous enum |
Enumerator | |
---|---|
PROP_CELL_NAME | |
PROP_COUNT |
Definition at line 58 of file conv-settings-dialog.c.
enum output_renderer |
return type of the RedererSettingsDialog
Enumerator | |
---|---|
RENDERER_LATEX_TIKZ | |
RENDERER_CAIROGRAPHICS_PDF | |
RENDERER_CAIROGRAPHICS_SVG |
Definition at line 40 of file conv-settings-dialog.h.
|
static |
|
static |
|
static |
Definition at line 127 of file conv-settings-dialog.c.
|
static |
|
static |
void renderer_settings_dialog_get_settings | ( | RendererSettingsDialog * | dialog, |
struct render_settings * | settings | ||
) |
Get the settings configured in the dialog.
dialog | |
settings |
Definition at line 321 of file conv-settings-dialog.c.
|
static |
RendererSettingsDialog * renderer_settings_dialog_new | ( | GtkWindow * | parent | ) |
Create a new RedererSettingsDialog GObject.
parent | Parent window |
Definition at line 310 of file conv-settings-dialog.c.
void renderer_settings_dialog_set_cell_height | ( | RendererSettingsDialog * | dialog, |
unsigned int | height | ||
) |
renderer_settings_dialog_set_cell_height Set height for rendered cell
dialog | |
height | Height in database units |
Definition at line 377 of file conv-settings-dialog.c.
void renderer_settings_dialog_set_cell_width | ( | RendererSettingsDialog * | dialog, |
unsigned int | width | ||
) |
renderer_settings_dialog_set_cell_width Set width for rendered cell
dialog | |
width | Width in database units |
Definition at line 365 of file conv-settings-dialog.c.
void renderer_settings_dialog_set_database_unit_scale | ( | RendererSettingsDialog * | dialog, |
double | unit_in_meters | ||
) |
renderer_settings_dialog_set_database_unit_scale Set database scale
dialog | dialog element |
unit_in_meters | Database unit in meters |
Definition at line 389 of file conv-settings-dialog.c.
|
static |
void renderer_settings_dialog_set_settings | ( | RendererSettingsDialog * | dialog, |
struct render_settings * | settings | ||
) |
Apply settings to dialog.
dialog | |
settings |
Definition at line 340 of file conv-settings-dialog.c.
|
static |
Definition at line 224 of file conv-settings-dialog.c.
|
static |
Definition at line 260 of file conv-settings-dialog.c.
|
static |
|
static |
|
static |
Definition at line 63 of file conv-settings-dialog.c.