Struct
PangoItem
Description [src]
struct PangoItem {
int offset;
int length;
int num_chars;
PangoAnalysis analysis;
}
The PangoItem
structure stores information about a segment of text.
You typically obtain PangoItems
by itemizing a piece of text
with pango_itemize()
.
Structure members
offset
Byte offset of the start of this item in text.
length
Length of this item in bytes.
num_chars
Number of Unicode characters in the item.
analysis
Analysis results for the item.
Instance methods
pango_item_split
Modifies orig
to cover only the text after split_index
, and
returns a new item that covers the text before split_index
that
used to be in orig
.