LayoutIter.getLineExtents

Obtains the extents of the current line.

Extents are in layout coordinates (origin is the top-left corner of the entire pango.layout.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 pango.layout_line.LayoutLine.getExtents.

class LayoutIter
void
getLineExtents

Parameters

inkRect pango.types.Rectangle

rectangle to fill with ink extents

logicalRect pango.types.Rectangle

rectangle to fill with logical extents