PangoLayoutLine

A pango.layout_line.LayoutLine represents one of the lines resulting from laying out a paragraph via pango.layout.Layout.

pango.layout_line.LayoutLine structures are obtained by calling pango.layout.Layout.getLine and are only valid until the text, attributes, or settings of the parent pango.layout.Layout are modified.

Members

Variables

isParagraphStart
uint isParagraphStart;

#TRUE if this is the first line of the paragraph

layout
PangoLayout* layout;

the layout this line belongs to, might be null

length
int length;

length of line in bytes

resolvedDir
uint resolvedDir;

#Resolved PangoDirection of line

runs
GSList* runs;

list of runs in the line, from left to right

startIndex
int startIndex;

start of line as byte index into layout->text