GDS-Render v1.2.1
|
Base GObject class for output renderers. More...
Go to the source code of this file.
Data Structures | |
struct | renderer_params |
struct | idle_function_params |
struct | GdsOutputRendererPrivate |
Enumerations | |
enum | { PROP_OUTPUT_FILE = 1 , PROP_LAYER_SETTINGS , N_PROPERTIES } |
enum | gds_output_renderer_signal_ids { ASYNC_FINISHED = 0 , ASYNC_PROGRESS_CHANGED , GDS_OUTPUT_RENDERER_SIGNAL_COUNT } |
Functions | |
static int | gds_output_renderer_render_dummy (GdsOutputRenderer *renderer, struct gds_cell *cell, double scale) |
static void | gds_output_renderer_dispose (GObject *self_obj) |
static void | gds_output_renderer_get_property (GObject *obj, guint property_id, GValue *value, GParamSpec *pspec) |
static void | gds_output_renderer_set_property (GObject *obj, guint property_id, const GValue *value, GParamSpec *pspec) |
static void | gds_output_renderer_class_init (GdsOutputRendererClass *klass) |
void | gds_output_renderer_init (GdsOutputRenderer *self) |
GdsOutputRenderer * | gds_output_renderer_new () |
Create a new GdsOutputRenderer GObject. More... | |
GdsOutputRenderer * | gds_output_renderer_new_with_props (const char *output_file, LayerSettings *layer_settings) |
Create a new GdsOutputRenderer GObject with its properties. More... | |
void | gds_output_renderer_set_output_file (GdsOutputRenderer *renderer, const gchar *file_name) |
Convenience function for setting the "output-file" property. More... | |
const char * | gds_output_renderer_get_output_file (GdsOutputRenderer *renderer) |
Convenience function for getting the "output-file" property. More... | |
LayerSettings * | gds_output_renderer_get_and_ref_layer_settings (GdsOutputRenderer *renderer) |
Get layer settings. More... | |
void | gds_output_renderer_set_layer_settings (GdsOutputRenderer *renderer, LayerSettings *settings) |
Set layer settings. More... | |
int | gds_output_renderer_render_output (GdsOutputRenderer *renderer, struct gds_cell *cell, double scale) |
gds_output_renderer_render_output More... | |
static void | gds_output_renderer_async_wrapper (GTask *task, gpointer source_object, gpointer task_data, GCancellable *cancellable) |
static void | gds_output_renderer_async_finished (GObject *src_obj, GAsyncResult *res, gpointer user_data) |
int | gds_output_renderer_render_output_async (GdsOutputRenderer *renderer, struct gds_cell *cell, double scale) |
Render output asynchronously. More... | |
static gboolean | idle_event_processor_callback (gpointer user_data) |
void | gds_output_renderer_update_async_progress (GdsOutputRenderer *renderer, const char *status) |
This function emits the 'progress-changed' in the thread/context that triggered an asynchronous rendering. More... | |
Variables | |
static guint | gds_output_renderer_signals [GDS_OUTPUT_RENDERER_SIGNAL_COUNT] |
static GParamSpec * | gds_output_renderer_properties [N_PROPERTIES] = {NULL} |
Base GObject class for output renderers.
Definition in file gds-output-renderer.c.