gschem

gschem_pango.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

#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 Documentation

typedef typedefG_BEGIN_DECLS struct _GschemPangoRenderer GschemPangoRenderer

Definition at line 33 of file gschem_pango.h.

Definition at line 34 of file gschem_pango.h.

Definition at line 35 of file gschem_pango.h.

Definition at line 83 of file gschem_pango.h.


Function Documentation

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.

Parameters:
[in]cra cairo renderer
Returns:
a newly created #PangoRenderer. Free with g_object_unref().

Definition at line 308 of file gschem_pango.c.

void gschem_pango_show_layout ( cairo_t *  cr,
PangoLayout *  pl 
)

Definition at line 314 of file gschem_pango.c.

Here is the call graph for this function:

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

Parameters:
[in]overbarif the region should be drawn with an overbar
Returns:
a new #PangoAttribute

Definition at line 370 of file gschem_pango.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines