GlyphItem

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

Functions

applyAttrs
pango.glyph_item.GlyphItem[] applyAttrs(string text, pango.attr_list.AttrList list)

Splits a shaped item (pango.glyph_item.GlyphItem) into multiple items based on an attribute list.

copy
pango.glyph_item.GlyphItem copy()

Make a deep copy of an existing pango.glyph_item.GlyphItem structure.

split
pango.glyph_item.GlyphItem split(string text, int splitIndex)

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.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.