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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +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)! + 2006-12-04 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.1 === |