Valadoc | Vala | Tutorial | API-References | Markup

unichar_direction


Description:

Determines the inherent direction of a character; either LTR, RTL, or NEUTRAL.

This function is useful to categorize characters into left-to-right letters, right-to-left letters, and everything else. If full Unicode bidirectional type of a character is needed, pango_bidi_type_for_gunichar can be used instead.

Parameters:

ch a Unicode character

Returns:

the direction of the character.

Namespace: Pango
Package: pango