diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-12-05 23:57:09 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-12-05 23:57:09 +0000 |
commit | 4645a8b2f9328fb3a93de277ae39069120f16535 (patch) | |
tree | 91081591e0ef4012002d9bcc3a22358255df27b3 /docs | |
parent | 7e0e0a79d54e6bcd80ef3794eaf10de8bf579c56 (diff) | |
download | pango-4645a8b2f9328fb3a93de277ae39069120f16535.tar.gz |
Add new functions: pango_layout_iter_get_line_readonly()
2006-12-05 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
* pango/pango-layout.c (pango_layout_get_lines_readonly),
(pango_layout_get_line_readonly),
(pango_layout_iter_get_run_readonly),
(_pango_layout_iter_get_line), (pango_layout_iter_get_line),
(pango_layout_iter_get_line_readonly):
* pango/pango-layout.h:
* pango/pango-renderer.c (pango_renderer_draw_layout):
* pango/pango.def:
Add new functions:
pango_layout_iter_get_line_readonly()
pango_layout_get_lines_readonly()
pango_layout_iter_get_line_readonly()
pango_layout_iter_get_run_readonly()
These should be used when you do not intend to modify the run/line,
which is more than most of the time. So, update your app, benefit
from more optimizations (in this case, line extents caching)!
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-sections.txt | 4 | ||||
-rw-r--r-- | docs/tmpl/layout.sgml | 37 |
2 files changed, 41 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 9bba28e5..956c7696 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -472,7 +472,9 @@ pango_layout_get_size pango_layout_get_pixel_size pango_layout_get_line_count pango_layout_get_line +pango_layout_get_line_readonly pango_layout_get_lines +pango_layout_get_lines_readonly pango_layout_get_iter pango_layout_iter_free @@ -484,7 +486,9 @@ 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_run_readonly pango_layout_iter_get_line +pango_layout_iter_get_line_readonly pango_layout_iter_get_char_extents pango_layout_iter_get_cluster_extents pango_layout_iter_get_run_extents diff --git a/docs/tmpl/layout.sgml b/docs/tmpl/layout.sgml index 8dd4b695..1bd70e60 100644 --- a/docs/tmpl/layout.sgml +++ b/docs/tmpl/layout.sgml @@ -535,6 +535,16 @@ The #GObject type for #PangoAlignment. @Returns: +<!-- ##### FUNCTION pango_layout_get_line_readonly ##### --> +<para> + +</para> + +@layout: +@line: +@Returns: + + <!-- ##### FUNCTION pango_layout_get_lines ##### --> <para> @@ -544,6 +554,15 @@ The #GObject type for #PangoAlignment. @Returns: +<!-- ##### FUNCTION pango_layout_get_lines_readonly ##### --> +<para> + +</para> + +@layout: +@Returns: + + <!-- ##### FUNCTION pango_layout_get_iter ##### --> <para> @@ -633,6 +652,15 @@ The #GObject type for #PangoAlignment. @Returns: +<!-- ##### FUNCTION pango_layout_iter_get_run_readonly ##### --> +<para> + +</para> + +@iter: +@Returns: + + <!-- ##### FUNCTION pango_layout_iter_get_line ##### --> <para> @@ -642,6 +670,15 @@ The #GObject type for #PangoAlignment. @Returns: +<!-- ##### FUNCTION pango_layout_iter_get_line_readonly ##### --> +<para> + +</para> + +@iter: +@Returns: + + <!-- ##### FUNCTION pango_layout_iter_get_char_extents ##### --> <para> |