summaryrefslogtreecommitdiff
path: root/docs/tmpl
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-08-06 08:38:47 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-08-06 08:38:47 +0000
commitfb5d6ad85ca10e67db70575b0604894fa8c484f5 (patch)
tree6d981e7a19a26d9e73af5940ccc2f8451940e940 /docs/tmpl
parent1c37e9281dfb928291911f13e2ffb21589024725 (diff)
downloadpango-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 'docs/tmpl')
-rw-r--r--docs/tmpl/pango-renderer.sgml13
-rw-r--r--docs/tmpl/pangocairo.sgml10
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/tmpl/pango-renderer.sgml b/docs/tmpl/pango-renderer.sgml
index c265271e..6f2e8389 100644
--- a/docs/tmpl/pango-renderer.sgml
+++ b/docs/tmpl/pango-renderer.sgml
@@ -60,6 +60,7 @@ The #GObject type for #PangoRenderPart.
@begin:
@end:
@prepare_run:
+@draw_glyph_item:
<!-- ##### FUNCTION pango_renderer_draw_layout ##### -->
<para>
@@ -95,6 +96,18 @@ The #GObject type for #PangoRenderPart.
@y:
+<!-- ##### FUNCTION pango_renderer_draw_glyph_item ##### -->
+<para>
+
+</para>
+
+@renderer:
+@text:
+@glyph_item:
+@x:
+@y:
+
+
<!-- ##### FUNCTION pango_renderer_draw_rectangle ##### -->
<para>
diff --git a/docs/tmpl/pangocairo.sgml b/docs/tmpl/pangocairo.sgml
index edc8b526..24a24613 100644
--- a/docs/tmpl/pangocairo.sgml
+++ b/docs/tmpl/pangocairo.sgml
@@ -354,6 +354,16 @@ with Pango's Cairo renderer.
@glyphs:
+<!-- ##### FUNCTION pango_cairo_show_glyph_item ##### -->
+<para>
+
+</para>
+
+@cr:
+@text:
+@glyph_item:
+
+
<!-- ##### FUNCTION pango_cairo_show_layout_line ##### -->
<para>