[pango.item.Item] structures. The items should be freed using [pango.item.Item.free] probably in combination with [glib.list.List.freeFull].
itemizeWithBaseDir
fn
pango.item.Item[] itemizeWithBaseDir(pango.context.Context context, pango.types.Direction baseDir, string text, int startIndex, int length, pango.attr_list.AttrList attrs, pango.attr_iterator.AttrIterator cachedIter = null)Like [pango.global.itemize], but with an explicitly specified base direction.
The base direction is used when computing bidirectional levels. funcitemize gets the base direction from the [pango.context.Context] (see [pango.context.Context.setBaseDir]).
Parameters
context | a structure holding information that affects the itemization process. |
baseDir | base direction to use for bidirectional processing |
text | the text to itemize. |
startIndex | first byte in text to process |
length | the number of bytes (not characters) to process after start_index. This must be >= 0. |
attrs | the set of attributes that apply to text. |
cachedIter | Cached attribute iterator |
Returns
a [glib.list.List] of