summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-01-22 23:08:10 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-01-22 23:08:10 +0000
commitf685b8e639f4c28c49be358b62f85d0ccfa1415f (patch)
tree7f3320a119817e256f25537266b9582328f32386 /pango/pango-layout.h
parentb425950b463041cb7ed58367507f1ca528535a12 (diff)
downloadpango-f685b8e639f4c28c49be358b62f85d0ccfa1415f.tar.gz
s/is_break/is_line_break/g;
2001-01-22 Havoc Pennington <hp@redhat.com> * tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g; * pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode for PangoLayout * pango/break.c (pango_default_break): implement char break log attr * pango/pango-break.h (struct _PangoLogAttr): rename is_break is_line_break, add is_char_break field
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index ef87869d..6cef7cf4 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -42,6 +42,11 @@ typedef enum {
PANGO_ALIGN_RIGHT
} PangoAlignment;
+typedef enum {
+ PANGO_WRAP_WORD,
+ PANGO_WRAP_CHAR
+} PangoWrapMode;
+
struct _PangoLayoutLine
{
PangoLayout *layout;
@@ -97,6 +102,9 @@ void pango_layout_set_font_description (PangoLayout *la
void pango_layout_set_width (PangoLayout *layout,
int width);
int pango_layout_get_width (PangoLayout *layout);
+void pango_layout_set_wrap (PangoLayout *layout,
+ PangoWrapMode wrap);
+PangoWrapMode pango_layout_get_wrap (PangoLayout *layout);
void pango_layout_set_indent (PangoLayout *layout,
int indent);
int pango_layout_get_indent (PangoLayout *layout);