TextExtents

constructor()

Allocate a new TextExtents.

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 TextExtents 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(xBearing: <Error class: unknown class>, yBearing: <Error class: unknown class>, width: <Error class: unknown class>, height: <Error class: unknown class>, xAdvance: <Error class: unknown class>, yAdvance: <Error class: unknown class>)

Allocate a new TextExtents.

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

Parameters

xBearing
yBearing
width
height
xAdvance
yAdvance

constructor(xBearing: <Error class: unknown class>, yBearing: <Error class: unknown class>, width: <Error class: unknown class>, height: <Error class: unknown class>, xAdvance: <Error class: unknown class>, yAdvance: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new TextExtents using the provided AutofreeScope.

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

Parameters

xBearing
yBearing
width
height
xAdvance
yAdvance
scope

The AutofreeScope to allocate this structure in.


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