diff options
author | Havoc Pennington <hp@redhat.com> | 2000-11-13 18:47:29 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-11-13 18:47:29 +0000 |
commit | f6511ca5a76f630f5a8802bb65d417db8ed31cfd (patch) | |
tree | 4bd9592fa7adf8a790703e429e2c8fdff59df456 /docs | |
parent | d11951be51e06b6377ce0f1c546fde62281929a9 (diff) | |
download | pango-f6511ca5a76f630f5a8802bb65d417db8ed31cfd.tar.gz |
Add new PangoLayoutIter entry points
2000-11-13 Havoc Pennington <hp@redhat.com>
* 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)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-sections.txt | 20 | ||||
-rw-r--r-- | docs/tmpl/glyphs.sgml | 13 | ||||
-rw-r--r-- | docs/tmpl/layout.sgml | 163 |
3 files changed, 196 insertions, 0 deletions
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 <TITLE>Layout Objects</TITLE> <FILE>layout</FILE> 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 + <SUBSECTION> 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: +<!-- ##### FUNCTION pango_glyph_string_extents_range ##### --> +<para> + +</para> + +@glyphs: +@start: +@end: +@font: +@ink_rect: +@logical_rect: + + <!-- ##### FUNCTION pango_glyph_string_index_to_x ##### --> <para> 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. </para> +<!-- ##### STRUCT PangoLayoutIter ##### --> +<para> + +</para> + + <!-- ##### FUNCTION pango_layout_new ##### --> <para> @@ -387,6 +393,163 @@ for partial lines. @Returns: +<!-- ##### FUNCTION pango_layout_get_iter ##### --> +<para> + +</para> + +@layout: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_free ##### --> +<para> + +</para> + +@iter: + + +<!-- ##### FUNCTION pango_layout_iter_next_run ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_next_char ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_next_cluster ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_next_line ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_at_last_line ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_get_index ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_get_baseline ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_get_run ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_get_line ##### --> +<para> + +</para> + +@iter: +@Returns: + + +<!-- ##### FUNCTION pango_layout_iter_get_char_extents ##### --> +<para> + +</para> + +@iter: +@logical_rect: + + +<!-- ##### FUNCTION pango_layout_iter_get_cluster_extents ##### --> +<para> + +</para> + +@iter: +@ink_rect: +@logical_rect: + + +<!-- ##### FUNCTION pango_layout_iter_get_run_extents ##### --> +<para> + +</para> + +@iter: +@ink_rect: +@logical_rect: + + +<!-- ##### FUNCTION pango_layout_iter_get_line_yrange ##### --> +<para> + +</para> + +@iter: +@y0: +@y1: + + +<!-- ##### FUNCTION pango_layout_iter_get_line_extents ##### --> +<para> + +</para> + +@iter: +@ink_rect: +@logical_rect: + + +<!-- ##### FUNCTION pango_layout_iter_get_layout_extents ##### --> +<para> + +</para> + +@iter: +@ink_rect: +@logical_rect: + + <!-- ##### STRUCT PangoLayoutLine ##### --> <para> The #PangoLayoutLine structure represents one of the lines resulting |