Function
Pangoitemize_with_base_dir_and_embedding_levels
since: 1.59
Declaration [src]
GList*
pango_itemize_with_base_dir_and_embedding_levels (
PangoContext* context,
PangoDirection base_dir,
const char* text,
int start_index,
int length,
PangoAttrList* attrs,
PangoAttrIterator* cached_iter,
const guint8* embedding_levels,
int n_embedding_levels
)
Description [src]
Itemizes a range using embedding levels computed for the complete paragraph.
This is useful when itemizing bounded ranges of a paragraph without changing
the directional analysis at range boundaries. The embedding levels must
contain one entry for every Unicode character in text. start_index and
length must identify UTF-8 character boundaries.
Available since: 1.59
Parameters
context-
Type:
PangoContextA structure holding information that affects itemization.
The data is owned by the caller of the function. base_dir-
Type:
PangoDirectionBase direction of the paragraph.
text-
Type:
const char*Valid UTF-8 paragraph text.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. start_index-
Type:
intFirst byte in
textto process. length-
Type:
intNumber of bytes to process.
attrs-
Type:
PangoAttrListAttributes that apply to
text.The argument can be NULL.The data is owned by the caller of the function. cached_iter-
Type:
PangoAttrIteratorCached attribute iterator.
The argument can be NULL.The data is owned by the caller of the function. embedding_levels-
Type: An array of
guint8One embedding level for each character in
text.The length of the array is specified in the n_embedding_levelsargument.The data is owned by the caller of the function. n_embedding_levels-
Type:
intLength of
embedding_levels.