pangoItemize {RGtk2} | R Documentation |
Breaks a piece of text into segments with consistent
directional level and shaping engine. Each byte of text
will
be contained in exactly one of the items in the returned list;
the generated list of items will be in logical order (the start
offsets of the items are ascending).
pangoItemize(context, text, start.index, length, attrs, cached.iter = NULL)
|
[PangoContext ] a structure holding information that affects
the itemization process. |
|
[char] the text to itemize. |
|
[integer] first byte in text to process |
|
[integer] the number of bytes (not characters) to process
after start.index .
This must be >= 0. |
|
[PangoAttrList ] the set of attributes that apply to text . |
|
[PangoAttrIterator ] Cached attribute iterator, or NULL |
cached.iter
should be an iterator over attrs
currently positioned at a
range before or containing start.index
; cached.iter
will be advanced to
the range covering the position just after start.index
+ length
.
(i.e. if itemizing in a loop, just keep passing in the same cached.iter
).
[list] a list
of PangoItem
structures.
Derived by RGtkGen from GTK+ documentation