PangoGlyphItem

A pango.glyph_item.GlyphItem is a pair of a pango.item.Item and the glyphs resulting from shaping the items text.

As an example of the usage of pango.glyph_item.GlyphItem, the results of shaping text with pango.layout.Layout is a list of pango.layout_line.LayoutLine, each of which contains a list of pango.glyph_item.GlyphItem.

Members

Variables

endXOffset
int endXOffset;

horizontal displacement to apply after th glyph item. Positive values shift right

glyphs
PangoGlyphString* glyphs;

corresponding pango.glyph_string.GlyphString

item
PangoItem* item;

corresponding pango.item.Item

startXOffset
int startXOffset;

horizontal displacement to apply before the glyph item. Positive values shift right

yOffset
int yOffset;

shift of the baseline, relative to the baseline of the containing line. Positive values shift upwards