PgGlyphString.extents

Compute the logical and ink extents of a glyph string.

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

Examples of logical (red) and ink (green) rects:

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