PgGlyphItemIter

pango_shape() produces a string of glyphs which can be measured or drawn to the screen. The following structures are used to store information about glyphs.

Constructors

this
this(PangoGlyphItemIter* pangoGlyphItemIter)

Sets our main struct and passes it to the parent class

Members

Functions

copy
PgGlyphItemIter copy()

Make a shallow copy of an existing PangoGlyphItemIter structure. Since 1.22

free
void free()

Frees a PangoGlyphItemIter created by pango_glyph_item_iter_copy(). Since 1.22

getPgGlyphItemIterStruct
PangoGlyphItemIter* getPgGlyphItemIterStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

initEnd
int initEnd(PgGlyphItem glyphItem, string text)

Initializes a PangoGlyphItemIter structure to point to the last cluster in a glyph item. See PangoGlyphItemIter for details of cluster orders. Since 1.22

initStart
int initStart(PgGlyphItem glyphItem, string text)

Initializes a PangoGlyphItemIter structure to point to the first cluster in a glyph item. See PangoGlyphItemIter for details of cluster orders. Since 1.22

nextCluster
int nextCluster()

Advances the iterator to the next cluster in the glyph item. See PangoGlyphItemIter for details of cluster orders. Since 1.22

prevCluster
int prevCluster()

Moves the iterator to the preceding cluster in the glyph item. See PangoGlyphItemIter for details of cluster orders. Since 1.22

Variables

pangoGlyphItemIter
PangoGlyphItemIter* pangoGlyphItemIter;

the main Gtk struct

Meta