summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 96378168..768ac8e6 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1391,6 +1391,21 @@ pango_log2vis_get_embedding_levels (gunichar *str,
#endif /* HAVE_FRIBIDI */
+/**
+ * pango_get_mirror_char:
+ * @ch: a unicode character
+ * @mirrored_ch: location to store the mirrored character
+ *
+ * If @ch has the Unicode mirrored property and there is another unicode
+ * character that typically has a glyph that is the mirror image of @ch's
+ * glyph, puts that character in the address pointed to by @mirrored_ch.
+ *
+ * Use g_unichar_get_mirror_char() instead; the docs for that function
+ * provide full details.
+ *
+ * Return value: %TRUE if @ch has a mirrored character and @mirrored_ch is
+ * filled in, %FALSE otherwise
+ **/
gboolean
pango_get_mirror_char (gunichar ch,
gunichar *mirrored_ch)