Table of Contents

Class FontOptions

Namespace
Cairo.Internal
Assembly
cairo-1.0.dll
public class FontOptions
Inheritance
FontOptions
Inherited Members

Methods

Copy(FontOptionsHandle)

public static extern FontOptionsOwnedHandle Copy(FontOptionsHandle original)

Parameters

original FontOptionsHandle

Returns

FontOptionsOwnedHandle

Create()

public static extern FontOptionsOwnedHandle Create()

Returns

FontOptionsOwnedHandle

Destroy(IntPtr)

public static extern void Destroy(IntPtr handle)

Parameters

handle IntPtr

Equal(FontOptionsHandle, FontOptionsHandle)

public static extern bool Equal(FontOptionsHandle handle, FontOptionsHandle other)

Parameters

handle FontOptionsHandle
other FontOptionsHandle

Returns

bool

GetAntialias(FontOptionsHandle)

public static extern Antialias GetAntialias(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

Antialias

GetGType()

Calls native function cairo_gobject_font_options_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHintMetrics(FontOptionsHandle)

public static extern HintMetrics GetHintMetrics(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

HintMetrics

GetHintStyle(FontOptionsHandle)

public static extern HintStyle GetHintStyle(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

HintStyle

GetSubpixelOrder(FontOptionsHandle)

public static extern SubpixelOrder GetSubpixelOrder(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

SubpixelOrder

GetVariations(FontOptionsHandle)

public static extern NullableUtf8StringUnownedHandle GetVariations(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

NullableUtf8StringUnownedHandle

Hash(FontOptionsHandle)

public static extern ulong Hash(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

ulong

Merge(FontOptionsHandle, FontOptionsHandle)

public static extern void Merge(FontOptionsHandle handle, FontOptionsHandle other)

Parameters

handle FontOptionsHandle
other FontOptionsHandle

SetAntialias(FontOptionsHandle, Antialias)

public static extern void SetAntialias(FontOptionsHandle handle, Antialias antialias)

Parameters

handle FontOptionsHandle
antialias Antialias

SetHintMetrics(FontOptionsHandle, HintMetrics)

public static extern void SetHintMetrics(FontOptionsHandle handle, HintMetrics hintMetrics)

Parameters

handle FontOptionsHandle
hintMetrics HintMetrics

SetHintStyle(FontOptionsHandle, HintStyle)

public static extern void SetHintStyle(FontOptionsHandle handle, HintStyle hintStyle)

Parameters

handle FontOptionsHandle
hintStyle HintStyle

SetSubpixelOrder(FontOptionsHandle, SubpixelOrder)

public static extern void SetSubpixelOrder(FontOptionsHandle handle, SubpixelOrder subpixelOrder)

Parameters

handle FontOptionsHandle
subpixelOrder SubpixelOrder

SetVariations(FontOptionsHandle, NullableUtf8StringHandle)

public static extern void SetVariations(FontOptionsHandle handle, NullableUtf8StringHandle variations)

Parameters

handle FontOptionsHandle
variations NullableUtf8StringHandle

Status(FontOptionsHandle)

public static extern Status Status(FontOptionsHandle handle)

Parameters

handle FontOptionsHandle

Returns

Status