Mono Class Library: Cairo NamespaceCairo.FontExtents Structure |
See Also: FontExtents Members
|
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]
Namespace: Cairo
Assembly: Mono.Cairo (in Mono.Cairo.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0