Valadoc | Vala | Tutorial | API-References | Markup

find_base_dir


Description:

public Direction find_base_dir (string text, int length)

Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.

If no such character is found, then NEUTRAL is returned.

Parameters:

text the text to process
length length of text in bytes (may be -1 if text is nul-terminated)

Returns:

The direction corresponding to the first strong character.

Namespace: Pango
Package: pango