Package: pango

Function pango:layout-iter-line-extents

Lambda List

pango:layout-iter-line-extents (iter ink logical)

Arguments

iter -- a pango:layout-iter instance
ink -- a pango:rectangle instance to fill with the values of the ink extents, or nil
ink -- a pango:rectangle instance to fill with the values of the logical extents, or nil

Details

Obtains the extents of the current line. Extents are in Pango 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 pango:layout-line-extents function.
 

See also

2025-2-15