PgMiscellaneous.log2visGetEmbeddingLevels

This will return the bidirectional embedding levels of the input paragraph Since 1.4

class PgMiscellaneous
static
ubyte*
log2visGetEmbeddingLevels

Parameters

text string

the text to itemize.

length int

the number of bytes (not characters) to process, or -1 if text is nul-terminated and the length should be calculated.

pbaseDir PangoDirection

input base direction, and output resolved direction.

Return Value

Type: ubyte*

a newly allocated array of embedding levels, one item per character (not byte), that should be freed using g_free.

Meta