gschem
|
Go to the source code of this file.
Data Structures | |
struct | _GschemPangoRenderer |
struct | _GschemPangoRendererClass |
struct | _GschemPangoAttrOverbar |
Defines | |
#define | GSCHEM_TYPE_PANGO_RENDERER (gschem_pango_renderer_get_type()) |
#define | GSCHEM_PANGO_RENDERER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRenderer)) |
#define | GSCHEM_IS_PANGO_RENDERER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GSCHEM_TYPE_PANGO_RENDERER)) |
#define | GSCHEM_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRendererClass)) |
#define | GSCHEM_IS_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSCHEM_TYPE_PANGO_RENDERER)) |
#define | GSCHEM_PANGO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRendererClass)) |
Typedefs | |
typedef typedefG_BEGIN_DECLS struct _GschemPangoRenderer | GschemPangoRenderer |
typedef struct _GschemPangoRendererClass | GschemPangoRendererClass |
typedef struct _GschemPangoRendererPrivate | GschemPangoRendererPrivate |
typedef struct _GschemPangoAttrOverbar | GschemPangoAttrOverbar |
Functions | |
GType | gschem_pango_renderer_get_type (void) G_GNUC_CONST |
PangoRenderer * | gschem_pango_renderer_new (cairo_t *cr) |
Create a new PangoRenderer. | |
void | gschem_pango_show_layout (cairo_t *cr, PangoLayout *pl) |
void | gschem_pango_renderer_set_overbar (GschemPangoRenderer *gdk_renderer, gboolean overbar) |
PangoAttribute * | gschem_pango_attr_overbar_new (gboolean overbar) |
#define GSCHEM_TYPE_PANGO_RENDERER (gschem_pango_renderer_get_type()) |
Definition at line 37 of file gschem_pango.h.
#define GSCHEM_PANGO_RENDERER | ( | object | ) | (G_TYPE_CHECK_INSTANCE_CAST ((object), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRenderer)) |
Definition at line 38 of file gschem_pango.h.
#define GSCHEM_IS_PANGO_RENDERER | ( | object | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((object), GSCHEM_TYPE_PANGO_RENDERER)) |
Definition at line 39 of file gschem_pango.h.
#define GSCHEM_PANGO_RENDERER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRendererClass)) |
Definition at line 40 of file gschem_pango.h.
#define GSCHEM_IS_PANGO_RENDERER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE ((klass), GSCHEM_TYPE_PANGO_RENDERER)) |
Definition at line 41 of file gschem_pango.h.
#define GSCHEM_PANGO_RENDERER_GET_CLASS | ( | obj | ) | (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_PANGO_RENDERER, GschemPangoRendererClass)) |
Definition at line 42 of file gschem_pango.h.
typedef typedefG_BEGIN_DECLS struct _GschemPangoRenderer GschemPangoRenderer |
Definition at line 33 of file gschem_pango.h.
typedef struct _GschemPangoRendererClass GschemPangoRendererClass |
Definition at line 34 of file gschem_pango.h.
typedef struct _GschemPangoRendererPrivate GschemPangoRendererPrivate |
Definition at line 35 of file gschem_pango.h.
typedef struct _GschemPangoAttrOverbar GschemPangoAttrOverbar |
Definition at line 83 of file gschem_pango.h.
GType gschem_pango_renderer_get_type | ( | void | ) |
PangoRenderer* gschem_pango_renderer_new | ( | cairo_t * | cr | ) |
Create a new #PangoRenderer. Normally you can use the results of gschem_pango_renderer_get_default() rather than creating a new renderer.
[in] | cr | a cairo renderer |
Definition at line 308 of file gschem_pango.c.
void gschem_pango_show_layout | ( | cairo_t * | cr, |
PangoLayout * | pl | ||
) |
void gschem_pango_renderer_set_overbar | ( | GschemPangoRenderer * | gdk_renderer, |
gboolean | overbar | ||
) |
PangoAttribute* gschem_pango_attr_overbar_new | ( | gboolean | overbar | ) |
Creates a new attribute flagging a region as being drawn with overbar or not
[in] | overbar | if the region should be drawn with an overbar |
Definition at line 370 of file gschem_pango.c.