LayoutIter.getLineExtents

void getLineExtents(out pango.types.Rectangle inkRect, out pango.types.Rectangle logicalRect)

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.

Parameters

inkRectrectangle to fill with ink extents
logicalRectrectangle to fill with logical extents