PgLayoutLine.getExtents

Computes the logical and ink extents of a layout line. See pango_font_get_glyph_extents() for details about the interpretation of the rectangles.

class PgLayoutLine
void
getExtents

Parameters

inkRect PangoRectangle*

rectangle used to store the extents of the glyph string as drawn, or NULL. out[allow-none]

logicalRect PangoRectangle*

rectangle used to store the logical extents of the glyph string, or NULL. out[allow-none]

Meta