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)
|
a structure holding information that affects the itemization process. |
|
the text to itemize. |
|
first byte in |
|
the number of bytes (not characters) to process
after |
|
the set of attributes that apply to |
|
Cached attribute iterator, or |
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
listof
PangoItem
structures.
Derived by RGtkGen from GTK+ documentation