find_base_dir


Description:


[ Version ( since = "1.4" ) ]
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.

Parameters:

text

the text to process. Must be valid UTF-8

length

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

Returns:

The direction corresponding to the first strong character. If no such character is found, then pango_direction_neutral is returned.


Namespace: Pango
Package: pango