TextCluster
Allocate a new TextCluster.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new TextCluster 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(numBytes: <Error class: unknown class>, numGlyphs: <Error class: unknown class>)(source)
Allocate a new TextCluster.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
numBytes
numGlyphs
constructor(numBytes: <Error class: unknown class>, numGlyphs: <Error class: unknown class>, scope: <Error class: unknown class>)(source)
Allocate a new TextCluster using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
numBytes
numGlyphs
scope
The AutofreeScope to allocate this structure in.
constructor(cairoTextClusterPointer: <Error class: unknown class><<Error class: unknown class>>)(source)