itemize_with_base_dir


Description:


[ Version ( since = "1.4" ) ]
public List<Item> itemize_with_base_dir (Context context, Direction base_dir, string text, int start_index, int length, AttrList attrs, AttrIterator? cached_iter)

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 [ [email protected]_base_dir]).

Parameters:

context

a structure holding information that affects the itemization process.

base_dir

base direction to use for bidirectional processing

text

the text to itemize.

start_index

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.

cached_iter

Cached attribute iterator

Returns:

a `GList` of [[email protected]] structures. The items should be freed using [[email protected]] probably in combination with [[email protected]_full].


Namespace: Pango
Package: pango



2022 vala-language.org