PgContext.findBaseDir

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

class PgContext
static
findBaseDir
(
string text
,
int length
)

Parameters

text string

the text to process

length int

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

Return Value

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

Meta