summaryrefslogtreecommitdiff
path: root/pango/pango-layout-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 19:42:59 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 19:42:59 +0000
commitfe7d588c976e347f6f566cc76afe03b5fd2f682b (patch)
tree514003c8d3516e88a56ba971730d9f6ba813fa75 /pango/pango-layout-private.h
parentb012a12e567a3d2b7c903b4c5ec1d03e4a365fd4 (diff)
downloadpango-fe7d588c976e347f6f566cc76afe03b5fd2f682b.tar.gz
Part of Bug 326693 – PangoLayouts should be query-able about their
2007-01-16 Behdad Esfahbod <behdad@gnome.org> Part of Bug 326693 – PangoLayouts should be query-able about their effective properties (width / wrapped / ellipsized / etc) * pango/pango-layout-private.h: * pango/pango-layout.c (pango_layout_init), (pango_layout_copy), (pango_layout_is_wrapped), (pango_layout_clear_lines), (process_line): * pango/pango-layout.h: New public function: pango_layout_is_wrapped() * pango/pango.def: * docs/tmpl/layout.sgml: * docs/pango-sections.txt: Update. svn path=/trunk/; revision=2160
Diffstat (limited to 'pango/pango-layout-private.h')
-rw-r--r--pango/pango-layout-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout-private.h b/pango/pango-layout-private.h
index 56370c1a..c3def007 100644
--- a/pango/pango-layout-private.h
+++ b/pango/pango-layout-private.h
@@ -51,6 +51,7 @@ struct _PangoLayout
guint auto_dir : 1;
guint wrap : 2; /* PangoWrapMode */
+ guint is_wrapped : 1; /* Whether the layout has any wrapped lines */
guint ellipsize : 2; /* PangoEllipsizeMode */
guint is_ellipsized : 1; /* Whether the layout has any ellipsized lines */