GlyphGeometry

constructor()

Allocate a new GlyphGeometry.

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 GlyphGeometry 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(width: <Error class: unknown class>, xOffset: <Error class: unknown class>, yOffset: <Error class: unknown class>)

Allocate a new GlyphGeometry.

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

Parameters

width

the logical width to use for the the character.

xOffset

horizontal offset from nominal character position.

yOffset

vertical offset from nominal character position.


constructor(width: <Error class: unknown class>, xOffset: <Error class: unknown class>, yOffset: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new GlyphGeometry using the provided AutofreeScope.

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

Parameters

width

the logical width to use for the the character.

xOffset

horizontal offset from nominal character position.

yOffset

vertical offset from nominal character position.

scope

The AutofreeScope to allocate this structure in.


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