Mono Class Library: Cairo Namespace

Cairo.FontExtents Structure

Stores metric information for a font. Values are given in the current user-space coordinate system. [Edit]

See Also: FontExtents Members

public struct FontExtents

Remarks

Because font metrics are in user-space coordinates, they are mostly, but not entirely, independent of the current transformation matrix.

If you call Context.Scale (double, double) with parameters (2.0, 2.0), the text will be drawn twice as big, but the reported text extents will not be doubled. They will change slightly due to hinting (so you can not assume that metrics are independent of the transformation matrix), but otherwise will remain unchanged.

[Edit]

Requirements

Namespace: Cairo
Assembly: Mono.Cairo (in Mono.Cairo.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0