diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-08-06 08:38:47 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-08-06 08:38:47 +0000 |
commit | fb5d6ad85ca10e67db70575b0604894fa8c484f5 (patch) | |
tree | 6d981e7a19a26d9e73af5940ccc2f8451940e940 /pango/pangocairo.h | |
parent | 1c37e9281dfb928291911f13e2ffb21589024725 (diff) | |
download | pango-fb5d6ad85ca10e67db70575b0604894fa8c484f5.tar.gz |
New public API:
2008-07-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
* pango/pango-renderer.c:
* pango/pango-renderer.h:
New public API:
PangoRenderer::draw_glyph_item()
pango_renderer_draw_glyph_item()
Make layout and layout-line default renderers go through
draw_glyph_item(), which then by default falls back to
draw_glyphs(). The advantage in draw_glyph_item() is that it
has access to the text and cluster information.
* pango/pangocairo.h:
* pango/pangocairo-render.c:
New public API:
pango_cairo_show_glyph_item()
svn path=/trunk/; revision=2674
Diffstat (limited to 'pango/pangocairo.h')
-rw-r--r-- | pango/pangocairo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangocairo.h b/pango/pangocairo.h index b9191cd8..f11bf65f 100644 --- a/pango/pangocairo.h +++ b/pango/pangocairo.h @@ -116,6 +116,9 @@ void pango_cairo_update_layout (cairo_t *cr, void pango_cairo_show_glyph_string (cairo_t *cr, PangoFont *font, PangoGlyphString *glyphs); +void pango_cairo_show_glyph_item (cairo_t *cr, + const char *text, + PangoGlyphItem *glyph_item); void pango_cairo_show_layout_line (cairo_t *cr, PangoLayoutLine *line); void pango_cairo_show_layout (cairo_t *cr, |