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 PangoItem

glyphs

corresponding PangoGlyphString

Instance methods

pango_glyph_item_apply_attrs

Splits a shaped item (PangoGlyphItem) into multiple items based on an attribute list.

Available since: 1.2

pango_glyph_item_copy

Make a deep copy of an existing PangoGlyphItem structure.

Available since: 1.20

pango_glyph_item_free

Frees a PangoGlyphItem and resources to which it points.

Available since: 1.6

pango_glyph_item_get_logical_widths

Given a PangoGlyphItem and the corresponding text, determine the width corresponding to each character.

Available since: 1.26

pango_glyph_item_letter_space

Adds spacing between the graphemes of glyph_item to give the effect of typographic letter spacing.

Available since: 1.6

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.

Available since: 1.2