Package: pango

Function pango-layout-line-readonly

Lambda List

pango-layout-line-readonly (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 NULL 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 PangoLayout. No changes should be made to the line.

Details

Retrieves a particular line from a Pango layout.

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

See also

2021-1-15