summaryrefslogtreecommitdiff
path: root/docs
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
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')
-rw-r--r--docs/pango-sections.txt2
-rw-r--r--docs/tmpl/pango-renderer.sgml13
-rw-r--r--docs/tmpl/pangocairo.sgml10
3 files changed, 25 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index 458917d8..1232b4e4 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -647,6 +647,7 @@ PangoRendererClass
pango_renderer_draw_layout
pango_renderer_draw_layout_line
pango_renderer_draw_glyphs
+pango_renderer_draw_glyph_item
pango_renderer_draw_rectangle
pango_renderer_draw_error_underline
pango_renderer_draw_trapezoid
@@ -851,6 +852,7 @@ pango_cairo_update_context
pango_cairo_create_layout
pango_cairo_update_layout
pango_cairo_show_glyph_string
+pango_cairo_show_glyph_item
pango_cairo_show_layout_line
pango_cairo_show_layout
pango_cairo_show_error_underline
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>