Bug 363510 – Ability to query whether a PangoLayout is effectively
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 16 Jan 2007 10:36:42 +0000 (10:36 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 16 Jan 2007 10:36:42 +0000 (10:36 +0000)
commit9354b7f487b706ddb693a32fe01cdaf729f0b66b
tree99da184a9a6fdccd1ed480b5c4e65a9ee25d04a5
parent375cb212021277fd31142080a4ebb3fcf9b27a43
Bug 363510 – Ability to query whether a PangoLayout is effectively

2007-01-16  Behdad Esfahbod  <behdad@gnome.org>

        Bug 363510 – Ability to query whether a PangoLayout is effectively
        ellipsized (as opposed to the set_ellpisize()/get_ellipsize() methods
        which only set a request, or return the set request respectively)
        Patch from Milosz Derezynski

        * pango/pango-layout.h:
        * pango/ellipsize.c (_pango_layout_line_ellipsize):
        * pango/pango-layout-private.h:
        * pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
        (pango_layout_is_ellipsized), (pango_layout_clear_lines),
        (pango_layout_line_postprocess):
        New public function:

                pango_layout_is_ellipsized()

        * pango/pango.def:
        * docs/tmpl/layout.sgml:
        * docs/pango-sections.txt:
        Update.

svn path=/trunk/; revision=2150
ChangeLog
docs/pango-sections.txt
docs/tmpl/layout.sgml
pango/ellipsize.c
pango/pango-layout-private.h
pango/pango-layout.c
pango/pango-layout.h
pango/pango.def