Class ScaledFont
public class ScaledFont
- Inheritance
-
ScaledFont
- Inherited Members
Methods
Create(FontFaceHandle, MatrixHandle, MatrixHandle, FontOptionsHandle)
public static extern ScaledFontOwnedHandle Create(FontFaceHandle font_face, MatrixHandle font_matrix, MatrixHandle ctm, FontOptionsHandle options)
Parameters
font_face
FontFaceHandlefont_matrix
MatrixHandlectm
MatrixHandleoptions
FontOptionsHandle
Returns
Destroy(IntPtr)
public static extern void Destroy(IntPtr handle)
Parameters
handle
IntPtr
Extents(ScaledFontHandle, out FontExtents)
public static extern void Extents(ScaledFontHandle handle, out FontExtents extents)
Parameters
handle
ScaledFontHandleextents
FontExtents
GetCtm(ScaledFontHandle, MatrixHandle)
public static extern void GetCtm(ScaledFontHandle handle, MatrixHandle ctm)
Parameters
handle
ScaledFontHandlectm
MatrixHandle
GetFontFace(ScaledFontHandle)
public static extern FontFaceUnownedHandle GetFontFace(ScaledFontHandle handle)
Parameters
handle
ScaledFontHandle
Returns
GetFontMatrix(ScaledFontHandle, MatrixHandle)
public static extern void GetFontMatrix(ScaledFontHandle handle, MatrixHandle matrix)
Parameters
handle
ScaledFontHandlematrix
MatrixHandle
GetFontOptions(ScaledFontHandle, FontOptionsHandle)
public static extern void GetFontOptions(ScaledFontHandle handle, FontOptionsHandle options)
Parameters
handle
ScaledFontHandleoptions
FontOptionsHandle
GetGType()
Calls native function cairo_gobject_scaled_font_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetScaleMatrix(ScaledFontHandle, MatrixHandle)
public static extern void GetScaleMatrix(ScaledFontHandle handle, MatrixHandle matrix)
Parameters
handle
ScaledFontHandlematrix
MatrixHandle
GetType(ScaledFontHandle)
public static extern FontType GetType(ScaledFontHandle handle)
Parameters
handle
ScaledFontHandle
Returns
Status(ScaledFontHandle)
public static extern Status Status(ScaledFontHandle handle)
Parameters
handle
ScaledFontHandle
Returns
TextExtents(ScaledFontHandle, NonNullableUtf8StringHandle, out TextExtents)
public static extern void TextExtents(ScaledFontHandle handle, NonNullableUtf8StringHandle utf8, out TextExtents extents)
Parameters
handle
ScaledFontHandleutf8
NonNullableUtf8StringHandleextents
TextExtents