GlyphItem

constructor()

Allocate a new GlyphItem.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new GlyphItem using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(item: Item?, glyphs: GlyphString?, yOffset: <Error class: unknown class>, startXOffset: <Error class: unknown class>, endXOffset: <Error class: unknown class>)

Allocate a new GlyphItem.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

item

corresponding PangoItem

glyphs

corresponding PangoGlyphString

yOffset

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

startXOffset

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

endXOffset

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


constructor(item: Item?, glyphs: GlyphString?, yOffset: <Error class: unknown class>, startXOffset: <Error class: unknown class>, endXOffset: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new GlyphItem using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

item

corresponding PangoItem

glyphs

corresponding PangoGlyphString

yOffset

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

startXOffset

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

endXOffset

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

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)