Package: pango

Function pango:layout-line

Lambda List

pango:layout-line (layout line)

Arguments

layout -- a pango:layout object
linenum -- an integer for the index of a line, which must be between 0 and (pango:layout-line-count layout) - 1, inclusive

Return Value

The requested pango:layout-line instance, or nil if the index is out of range. This Pango layout line will become invalid if changes are made to the Pango layout.

Details

Retrieves a particular line from a Pango layout. Use the faster pango:layout-line-readonly function if you do not plan to modify the contents of the line (glyphs, glyph widths, and so on).
 

See also

2025-2-15