LayoutLine.getExtents

Computes the logical and ink extents of a layout line.

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

class LayoutLine
void
getExtents

Parameters

inkRect pango.types.Rectangle

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

logicalRect pango.types.Rectangle

rectangle used to store the logical extents of the glyph string