diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-10-24 06:37:13 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-10-24 06:37:13 +0000 |
commit | 60507b9471bf6755fff6d52789b18d3bc5540cea (patch) | |
tree | f2d491823e6ba79a69bf29d86d69d07ea58b2b3f /pango/pango-renderer.h | |
parent | fb097dd671439d53dfc26f73f70c7aa8c8918304 (diff) | |
download | pango-60507b9471bf6755fff6d52789b18d3bc5540cea.tar.gz |
Bug 472629 – Add pango_renderer_get_layout(_line)
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 472629 – Add pango_renderer_get_layout(_line)
* pango/pango-renderer.h:
* pango/pango-renderer.c:
New public API:
pango_renderer_get_layout()
pango_renderer_get_layout_line()
* pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
(release_renderer), (_pango_cairo_do_layout_line),
(_pango_cairo_do_layout): Use above API to simplify
shape_renderer implementation.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
Update.
svn path=/trunk/; revision=2460
Diffstat (limited to 'pango/pango-renderer.h')
-rw-r--r-- | pango/pango-renderer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-renderer.h b/pango/pango-renderer.h index 47fbb017..89c45fac 100644 --- a/pango/pango-renderer.h +++ b/pango/pango-renderer.h @@ -237,6 +237,9 @@ void pango_renderer_set_matrix (PangoRenderer *render const PangoMatrix *matrix); G_CONST_RETURN PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer); +PangoLayout *pango_renderer_get_layout (PangoRenderer *renderer); +PangoLayoutLine *pango_renderer_get_layout_line (PangoRenderer *renderer); + G_END_DECLS #endif /* __PANGO_RENDERER_H_ */ |