Package: pango

Function pango:layout-lines-readonly

Lambda List

pango:layout-lines-readonly (layout)

Arguments

layout -- a pango:layout object

Return Value

The list containing the pango:layout-line instances in the Pango layout. This points to internal data of the Pango layout and must be used with care. It will become invalid on any change to the text or properties of the Pango layout. No changes should be made to the lines.

Details

Returns the lines of the Pango layout as a list. This is a faster alternative to the pango:layout-lines function, but the user is not expected to modify the contents of the lines (glyphs, glyph widths, and so on).
 

See also

2025-2-15