LayoutLine

constructor()

Allocate a new LayoutLine.

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 LayoutLine 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(layout: Layout?, startIndex: <Error class: unknown class>, length: <Error class: unknown class>, runs: <Error class: unknown class>?, isParagraphStart: <Error class: unknown class>, resolvedDir: <Error class: unknown class>)

Allocate a new LayoutLine.

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

Parameters

layout

the layout this line belongs to, might be null

startIndex

start of line as byte index into layout->text

length

length of line in bytes

runs

list of runs in the line, from left to right

isParagraphStart

#TRUE if this is the first line of the paragraph

resolvedDir

#Resolved PangoDirection of line


constructor(layout: Layout?, startIndex: <Error class: unknown class>, length: <Error class: unknown class>, runs: <Error class: unknown class>?, isParagraphStart: <Error class: unknown class>, resolvedDir: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new LayoutLine using the provided AutofreeScope.

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

Parameters

layout

the layout this line belongs to, might be null

startIndex

start of line as byte index into layout->text

length

length of line in bytes

runs

list of runs in the line, from left to right

isParagraphStart

#TRUE if this is the first line of the paragraph

resolvedDir

#Resolved PangoDirection of line

scope

The AutofreeScope to allocate this structure in.


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