PgContext.itemizeWithBaseDir

Like pango_itemize(), but the base direction to use when computing bidirectional levels (see pango_context_set_base_dir()), is specified explicitly rather than gotten from the PangoContext. Since 1.4

Parameters

baseDir PangoDirection

base direction to use for bidirectional processing

text string

the text to itemize.

startIndex int

first byte in text to process

length int

the number of bytes (not characters) to process after start_index. This must be >= 0.

attrs PgAttributeList

the set of attributes that apply to text.

cachedIter PgAttributeIterator

Cached attribute iterator, or NULL

Return Value

Type: ListG

a GList of PangoItem structures. The items should be freed using pango_item_free() probably in combination with g_list_foreach(), and the list itself using g_list_free().

Meta