Table of Contents

Class Fontset

Namespace
Pango
Assembly
Pango-1.0.dll
public class Fontset : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Fontset
Implements
Derived
Inherited Members

Constructors

Fontset(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public Fontset(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Fontset(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Fontset(CreationData data)

Parameters

data CreationData

Fontset(FontsetHandle)

protected Fontset(FontsetHandle handle)

Parameters

handle FontsetHandle

Methods

Foreach(FontsetForeachFunc)

[Version("1.4")]
public void Foreach(FontsetForeachFunc func)

Parameters

func FontsetForeachFunc

A callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).

GetFont(uint)

public Font GetFont(uint wc)

Parameters

wc uint

Returns

Font

GetGType()

public static Type GetGType()

Returns

Type

GetMetrics()

public FontMetrics GetMetrics()

Returns

FontMetrics

NewFromPointer(nint, bool)

Creates a new managed Fontset instance for a given pointer.

public static Fontset NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Fontset

NewWithProperties(ConstructArgument[])

Creates a new Fontset and sets the properties specified by the construct arguments.

public static Fontset NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Fontset