Table of Contents

Class ScaledFont

Namespace
Cairo.Internal
Assembly
cairo-1.0.dll
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 FontFaceHandle
font_matrix MatrixHandle
ctm MatrixHandle
options FontOptionsHandle

Returns

ScaledFontOwnedHandle

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 ScaledFontHandle
extents FontExtents

GetCtm(ScaledFontHandle, MatrixHandle)

public static extern void GetCtm(ScaledFontHandle handle, MatrixHandle ctm)

Parameters

handle ScaledFontHandle
ctm MatrixHandle

GetFontFace(ScaledFontHandle)

public static extern FontFaceUnownedHandle GetFontFace(ScaledFontHandle handle)

Parameters

handle ScaledFontHandle

Returns

FontFaceUnownedHandle

GetFontMatrix(ScaledFontHandle, MatrixHandle)

public static extern void GetFontMatrix(ScaledFontHandle handle, MatrixHandle matrix)

Parameters

handle ScaledFontHandle
matrix MatrixHandle

GetFontOptions(ScaledFontHandle, FontOptionsHandle)

public static extern void GetFontOptions(ScaledFontHandle handle, FontOptionsHandle options)

Parameters

handle ScaledFontHandle
options 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 ScaledFontHandle
matrix MatrixHandle

GetType(ScaledFontHandle)

public static extern FontType GetType(ScaledFontHandle handle)

Parameters

handle ScaledFontHandle

Returns

FontType

Status(ScaledFontHandle)

public static extern Status Status(ScaledFontHandle handle)

Parameters

handle ScaledFontHandle

Returns

Status

TextExtents(ScaledFontHandle, NonNullableUtf8StringHandle, out TextExtents)

public static extern void TextExtents(ScaledFontHandle handle, NonNullableUtf8StringHandle utf8, out TextExtents extents)

Parameters

handle ScaledFontHandle
utf8 NonNullableUtf8StringHandle
extents TextExtents