Struct
Pango.GlyphItem
Description [src]
struct PangoGlyphItem {
PangoItem* item;
PangoGlyphString* glyphs;
}
A PangoGlyphItem
is a pair of a PangoItem
and the glyphs
resulting from shaping the items text.
As an example of the usage of PangoGlyphItem
, the results
of shaping text with PangoLayout
is a list of PangoLayoutLine
,
each of which contains a list of PangoGlyphItem
.
Structure members
item |
corresponding |
glyphs |
corresponding |
Instance methods
pango_glyph_item_apply_attrs
Splits a shaped item (PangoGlyphItem
) into multiple items based
on an attribute list.
pango_glyph_item_copy
Make a deep copy of an existing PangoGlyphItem
structure.
pango_glyph_item_free
Frees a PangoGlyphItem
and resources to which it points.
pango_glyph_item_get_logical_widths
Given a PangoGlyphItem
and the corresponding text, determine the width
corresponding to each character.
pango_glyph_item_letter_space
Adds spacing between the graphemes of glyph_item
to
give the effect of typographic letter spacing.
pango_glyph_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
.