LayoutLine.getExtents

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

Computes the logical and ink extents of a layout line.

See [pango.font.Font.getGlyphExtents] for details about the interpretation of the rectangles.

Parameters

inkRectrectangle used to store the extents of the glyph string as drawn
logicalRectrectangle used to store the logical extents of the glyph string