getExtents

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

Computes the logical and ink extents of a layout line.

See method@Pango.Font.get_glyph_extents for details about the interpretation of the rectangles.

Parameters

inkRect

rectangle used to store the extents of the glyph string as drawn

logicalRect

rectangle used to store the logical extents of the glyph string