Package: pango

Function pango-layout-lines-readonly

Lambda List

pango-layout-lines-readonly (layout)

Arguments

layout -- a pango-layout object

Return Value

A list containing the pango-layout-line instances in the 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 layout's text or properties. No changes should be made to the lines.

Details

Returns the lines of the layout as a list.

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

See also

2021-1-15