Package: pango

Function pango:layout-lines

Lambda List

pango:layout-lines (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.

Details

Returns the lines of the Pango layout as a list. Use the faster pango:layout-lines-readonly function if you do not plan to modify the contents of the lines (glyphs, glyph widths, and so on).
 

See also

2025-2-15