summaryrefslogtreecommitdiff
path: root/pango/pango-tabs.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-29 00:09:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-29 08:12:11 -0500
commitae8297b785eacc61890b6042c0f89af6f65b3bb3 (patch)
tree2ea240fdb43f818145781910cb1116e4a1a03d17 /pango/pango-tabs.h
parenta6ed4ff80188bb0472891b08c421d3ca4c846315 (diff)
downloadpango-ae8297b785eacc61890b6042c0f89af6f65b3bb3.tar.gz
tabs: Add a decimal point
This is useful for PANGO_TAB_DECIMAL. Implement this in PangoLayout, in the serializer, and update tests.
Diffstat (limited to 'pango/pango-tabs.h')
-rw-r--r--pango/pango-tabs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pango-tabs.h b/pango/pango-tabs.h
index 81ac1550..0792a36a 100644
--- a/pango/pango-tabs.h
+++ b/pango/pango-tabs.h
@@ -98,6 +98,13 @@ char * pango_tab_array_to_string (PangoTabArray *tab_array);
PANGO_AVAILABLE_IN_1_50
PangoTabArray * pango_tab_array_from_string (const char *text);
+PANGO_AVAILABLE_IN_1_50
+void pango_tab_array_set_decimal_point (PangoTabArray *tab_array,
+ int tab_index,
+ gunichar decimal_point);
+PANGO_AVAILABLE_IN_1_50
+gunichar pango_tab_array_get_decimal_point (PangoTabArray *tab_array,
+ int tab_index);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoTabArray, pango_tab_array_free)