Class ScaledFont
- Namespace
- Cairo
- Assembly
- cairo-1.0.dll
public class ScaledFont : BoxedRecord, GTypeProvider, InstanceFactory, IDisposable
- Inheritance
-
ScaledFont
- Implements
- Inherited Members
Constructors
ScaledFont(FontFace, Matrix, Matrix, FontOptions)
public ScaledFont(FontFace font_face, Matrix font_matrix, Matrix ctm, FontOptions options)
Parameters
font_faceFontFacefont_matrixMatrixctmMatrixoptionsFontOptions
ScaledFont(ScaledFontOwnedHandle)
public ScaledFont(ScaledFontOwnedHandle handle)
Parameters
handleScaledFontOwnedHandle
Properties
FontType
public FontType FontType { get; }
Property Value
Handle
public ScaledFontOwnedHandle Handle { get; }
Property Value
Status
public Status Status { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Extents(out FontExtents)
public void Extents(out FontExtents extents)
Parameters
extentsFontExtents
GetCtm(Matrix)
public void GetCtm(Matrix ctm)
Parameters
ctmMatrix
GetFontFace()
public FontFace GetFontFace()
Returns
GetFontMatrix(Matrix)
public void GetFontMatrix(Matrix matrix)
Parameters
matrixMatrix
GetFontOptions(FontOptions)
public void GetFontOptions(FontOptions options)
Parameters
optionsFontOptions
GetGType()
public static Type GetGType()
Returns
GetScaleMatrix(Matrix)
public void GetScaleMatrix(Matrix scale_matrix)
Parameters
scale_matrixMatrix
TextExtents(string, out TextExtents)
public void TextExtents(string text, out TextExtents extents)
Parameters
textstringextentsTextExtents