Package: pango

Function pango-layout-line

Lambda List

pango-layout-line (layout line)

Arguments

layout -- a pango-layout object
line -- an integer with 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 layout line can be ref'ed and retained, but will become invalid if changes are made to the Pango layout.

Details

Retrieves a particular line from a Pango layout.

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

See also

2021-1-15