31#ifndef _GDS_OUTPUT_RENDERER_H_
32#define _GDS_OUTPUT_RENDERER_H_
35#include <glib-object.h>
41#define GDS_RENDER_TYPE_OUTPUT_RENDERER (gds_output_renderer_get_type())
Defines types and macros used by the GDS-Parser.
GdsOutputRenderer * gds_output_renderer_new()
Create a new GdsOutputRenderer GObject.
GdsOutputRenderer * gds_output_renderer_new_with_props(const char *output_file, LayerSettings *layer_settings)
Create a new GdsOutputRenderer GObject with its properties.
int gds_output_renderer_render_output_async(GdsOutputRenderer *renderer, struct gds_cell *cell, double scale)
Render output asynchronously.
void gds_output_renderer_set_output_file(GdsOutputRenderer *renderer, const gchar *file_name)
Convenience function for setting the "output-file" property.
G_DECLARE_DERIVABLE_TYPE(GdsOutputRenderer, gds_output_renderer, GDS_RENDER, OUTPUT_RENDERER, GObject)
const char * gds_output_renderer_get_output_file(GdsOutputRenderer *renderer)
Convenience function for getting the "output-file" property.
int gds_output_renderer_render_output(GdsOutputRenderer *renderer, struct gds_cell *cell, double scale)
gds_output_renderer_render_output
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 rende...
LayerSettings * gds_output_renderer_get_and_ref_layer_settings(GdsOutputRenderer *renderer)
Get layer settings.
void gds_output_renderer_set_layer_settings(GdsOutputRenderer *renderer, LayerSettings *settings)
Set layer settings.
@ GDS_OUTPUT_RENDERER_PARAM_ERR
Error set by the _GdsOutputRendererClass::render_output virtual function, if parameters are faulty.
@ GDS_OUTPUT_RENDERER_GEN_ERR
Error set by the _GdsOutputRendererClass::render_output virtual function, if renderer is invalid.
LayerSettings class header file.
Base output renderer class structure.
int(* render_output)(GdsOutputRenderer *renderer, struct gds_cell *cell, double scale)
Virtual render output function. Overwritten by final class implementation.
GObjectClass parent_class
A Cell inside a gds_library.