get_lines_readonly


Description:

[ Version ( since = "1.16" ) ]
public unowned SList<LayoutLine> get_lines_readonly ()

Returns the lines of the this as a list.

This is a faster alternative to get_lines, but the user is not expected to modify the contents of the lines (glyphs, glyph widths, etc.).

Parameters:

this

a Layout

Returns:

a SList containing the lines in the layout. This points to internal data of the Layout and must be used with care. It will become invalid on any change to the layout's text or properties. No changes should be made to the lines.