From f6511ca5a76f630f5a8802bb65d417db8ed31cfd Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 13 Nov 2000 18:47:29 +0000 Subject: Add new PangoLayoutIter entry points 2000-11-13 Havoc Pennington * docs/pango-sections.txt: Add new PangoLayoutIter entry points * pango/glyphstring.c (pango_glyph_string_extents_range): New function * pango/pango-layout.c: Create PangoLayoutIter for iterating over a layout's visual elements * pango/pango-layout.c (pango_layout_check_lines): plug a memleak (attr iterator not freed) * pango/pango-tabs.c (pango_tab_array_free): plug a memleak (array->tabs not freed) --- docs/pango-sections.txt | 20 ++++++ docs/tmpl/glyphs.sgml | 13 ++++ docs/tmpl/layout.sgml | 163 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 196 insertions(+) (limited to 'docs') diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 32e4c799..bb37a61b 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -63,6 +63,7 @@ pango_glyph_string_new pango_glyph_string_set_size pango_glyph_string_free pango_glyph_string_extents +pango_glyph_string_extents_range pango_glyph_string_index_to_x pango_glyph_string_x_to_index pango_glyph_string_get_logical_widths @@ -206,6 +207,7 @@ pango_tab_array_get_positions_in_pixels Layout Objects layout PangoLayout +PangoLayoutIter pango_layout_new pango_layout_get_context @@ -247,6 +249,24 @@ pango_layout_get_line_count pango_layout_get_line pango_layout_get_lines +pango_layout_get_iter +pango_layout_iter_free +pango_layout_iter_next_run +pango_layout_iter_next_char +pango_layout_iter_next_cluster +pango_layout_iter_next_line +pango_layout_iter_at_last_line +pango_layout_iter_get_index +pango_layout_iter_get_baseline +pango_layout_iter_get_run +pango_layout_iter_get_line +pango_layout_iter_get_char_extents +pango_layout_iter_get_cluster_extents +pango_layout_iter_get_run_extents +pango_layout_iter_get_line_yrange +pango_layout_iter_get_line_extents +pango_layout_iter_get_layout_extents + PangoLayoutLine PangoLayoutRun diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index f099bdd9..d1697a45 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -275,6 +275,19 @@ accessible fields @logical_rect: + + + + + +@glyphs: +@start: +@end: +@font: +@ink_rect: +@logical_rect: + + diff --git a/docs/tmpl/layout.sgml b/docs/tmpl/layout.sgml index f66b0a25..581f00bf 100644 --- a/docs/tmpl/layout.sgml +++ b/docs/tmpl/layout.sgml @@ -48,6 +48,12 @@ fields. + + + + + + @@ -387,6 +393,163 @@ for partial lines. @Returns: + + + + + +@layout: +@Returns: + + + + + + + +@iter: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@Returns: + + + + + + + +@iter: +@logical_rect: + + + + + + + +@iter: +@ink_rect: +@logical_rect: + + + + + + + +@iter: +@ink_rect: +@logical_rect: + + + + + + + +@iter: +@y0: +@y1: + + + + + + + +@iter: +@ink_rect: +@logical_rect: + + + + + + + +@iter: +@ink_rect: +@logical_rect: + + The #PangoLayoutLine structure represents one of the lines resulting -- cgit v1.2.1