getLineExtents

fun getLineExtents(inkRect: Rectangle?, logicalRect: Rectangle?)

Obtains the extents of the current line.

Extents are in layout coordinates (origin is the top-left corner of the entire PangoLayout). 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 method@Pango.LayoutLine.get_extents.

Parameters

inkRect

rectangle to fill with ink extents

logicalRect

rectangle to fill with logical extents