PgGlyphString.extents

Compute the logical and ink extents of a glyph string. See the documentation for pango_font_get_glyph_extents() for details about the interpretation of the rectangles.

class PgGlyphString
void
extents

Parameters

font PgFont

a #PangoFont

inkRect PangoRectangle

rectangle used to store the extents of the glyph string as drawn or %NULL to indicate that the result is not needed.

logicalRect PangoRectangle

rectangle used to store the logical extents of the glyph string or %NULL to indicate that the result is not needed.

Meta