summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-16 08:30:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 19:47:43 -0400
commit6e3a8ad9cc915e11df720e271f0a59b8d354c5ba (patch)
tree60a0c6f3c7962c1638a6364270e771a8a3b1311f /pango/pango-layout.h
parent5ed6d2589f8c553bfdfff080b8bea5c90bfefad6 (diff)
downloadpango-6e3a8ad9cc915e11df720e271f0a59b8d354c5ba.tar.gz
Add pango_layout_get_direction
This lets callers access to resolved text direction of a layout. GTK needs this. Closes: https://gitlab.gnome.org/GNOME/pango/issues/14
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 0639b1b4..d0a4fe8f 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -230,7 +230,6 @@ PangoAlignment pango_layout_get_alignment (PangoLayout *la
PANGO_AVAILABLE_IN_ALL
void pango_layout_set_tabs (PangoLayout *layout,
PangoTabArray *tabs);
-
PANGO_AVAILABLE_IN_ALL
PangoTabArray* pango_layout_get_tabs (PangoLayout *layout);
@@ -251,6 +250,10 @@ gboolean pango_layout_is_ellipsized (PangoLayout *layout);
PANGO_AVAILABLE_IN_1_16
int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
+PANGO_AVAILABLE_IN_1_46
+PangoDirection pango_layout_get_direction (PangoLayout *layout,
+ int index);
+
PANGO_AVAILABLE_IN_ALL
void pango_layout_context_changed (PangoLayout *layout);
PANGO_AVAILABLE_IN_1_32