unichar_direction


Description:


public Direction unichar_direction (unichar ch)

Determines the inherent direction of a character.

The inherent direction is either `PANGO_DIRECTION_LTR`, `PANGO_DIRECTION_RTL`, or `PANGO_DIRECTION_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, [[email protected]_unichar] can be used instead.

Parameters:

ch

a Unicode character

Returns:

the direction of the character.


Namespace: Pango
Package: pango



2022 vala-language.org