itemizeWithBaseDir

fun itemizeWithBaseDir(context: Context, baseDir: Direction, text: String, startIndex: <Error class: unknown class>, length: <Error class: unknown class>, attrs: AttrList, cachedIter: AttrIterator? = null): <Error class: unknown class>

Like pango_itemize(), but with an explicitly specified base direction.

The base direction is used when computing bidirectional levels. func@itemize gets the base direction from the PangoContext (see method@Pango.Context.set_base_dir).

Return

a GList of struct@Pango.Item structures. The items should be freed using method@Pango.Item.free probably in combination with func@GLib.List.free_full.

Since

1.4

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