Package: pango

Function pango-layout-lines

Lambda List

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

Details

Returns the lines of the layout as a list.

Use the faster function pango-layout-lines-readonly if you do not plan to modify the contents of the lines (glyphs, glyph widths, etc.).
 

See also

2021-1-15