Package: pango

Function pango-layout-iter-line-extents

Lambda List

pango-layout-iter-line-extents (iter)

Arguments

iter -- a pango-layout-iter instance

Return Value

ink-rect -- a pango-rectangle instance with ink extents
logical-rect -- a pango-rectangle instance with logical extents

Details

Obtains the extents of the current line. ink-rect or logical-rect can be NULL if you are not interested in them. Extents are in layout coordinates (origin is the top-left corner of the entire Pango layout). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from the function pango-layout-line-extents.
 

See also

2021-1-16