summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-renderer.h')
-rw-r--r--pango/pango-renderer.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/pango/pango-renderer.h b/pango/pango-renderer.h
index 89c45fac..354127b7 100644
--- a/pango/pango-renderer.h
+++ b/pango/pango-renderer.h
@@ -101,6 +101,7 @@ struct _PangoRenderer
* @begin: Do renderer-specific initialization before drawing
* @end: Do renderer-specific cleanup after drawing
* @prepare_run: updates the renderer for a new run
+ * @draw_glyph_item: draws a #PangoGlyphItem
*
* Class structure for #PangoRenderer.
*
@@ -172,10 +173,18 @@ struct _PangoRendererClass
void (*prepare_run) (PangoRenderer *renderer,
PangoLayoutRun *run);
+ /* All of the following have default implementations
+ * and take as coordinates user coordinates in Pango units
+ */
+ void (*draw_glyph_item) (PangoRenderer *renderer,
+ const char *text,
+ PangoGlyphItem *glyph_item,
+ int x,
+ int y);
+
/*< private >*/
/* Padding for future expansion */
- void (*_pango_reserved1) (void);
void (*_pango_reserved2) (void);
void (*_pango_reserved3) (void);
void (*_pango_reserved4) (void);
@@ -196,6 +205,11 @@ void pango_renderer_draw_glyphs (PangoRenderer *renderer,
PangoGlyphString *glyphs,
int x,
int y);
+void pango_renderer_draw_glyph_item (PangoRenderer *renderer,
+ const char *text,
+ PangoGlyphItem *glyph_item,
+ int x,
+ int y);
void pango_renderer_draw_rectangle (PangoRenderer *renderer,
PangoRenderPart part,
int x,