FontExtents
constructor()
Allocate a new FontExtents.
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 FontExtents 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(ascent: <Error class: unknown class>, descent: <Error class: unknown class>, height: <Error class: unknown class>, maxXAdvance: <Error class: unknown class>, maxYAdvance: <Error class: unknown class>)
Allocate a new FontExtents.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
ascent
descent
height
maxXAdvance
maxYAdvance
constructor(ascent: <Error class: unknown class>, descent: <Error class: unknown class>, height: <Error class: unknown class>, maxXAdvance: <Error class: unknown class>, maxYAdvance: <Error class: unknown class>, scope: <Error class: unknown class>)
Allocate a new FontExtents using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
ascent
descent
height
maxXAdvance
maxYAdvance
scope
The AutofreeScope to allocate this structure in.
constructor(cairoFontExtentsPointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)