summaryrefslogtreecommitdiff
path: root/pango/pango-layout-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-10 09:40:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-10 09:40:34 -0400
commite0584a4b590bad645c2f9666dd4d19379e887ff6 (patch)
tree3ca5317041d561299c94fc90b75fb84881eafb71 /pango/pango-layout-private.h
parent770fd4d4d23cd901ace30472df3431cd564a1bf3 (diff)
downloadpango-e0584a4b590bad645c2f9666dd4d19379e887ff6.tar.gz
Add pango_justify_last_line
Add a way to justify the last line in a justified paragraph. Fixes: #74
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 63e4139e..1805e730 100644
--- a/pango/pango-layout-private.h
+++ b/pango/pango-layout-private.h
@@ -58,6 +58,7 @@ struct _PangoLayout
float line_spacing; /* factor to apply to line height */
guint justify : 1;
+ guint justify_last_line : 1;
guint alignment : 2;
guint single_paragraph : 1;
guint auto_dir : 1;