FontEnvironment Class

What the font code gets from the library that uses it: the limits that bound its work, and the storage of its temporary buffers.

public abstract class FontEnvironment

Remarks

A font keeps the environment it was loaded with (FontData.Environment).

Constructors

NameDescription
FontEnvironment()

FontEnvironment()

protected FontEnvironment()

No documentation is available.

Properties

NameDescription
LimitsGets the limits.

Limits

Gets the limits.

public abstract FontResourceLimits Limits { get; }

Property value

FontResourceLimits

Methods

NameDescription
CreateAllocator(string)Creates the allocator of an operation: the temporary buffers of the operation are rented from it.

CreateAllocator(string)

Creates the allocator of an operation: the temporary buffers of the operation are rented from it.

public abstract FontAllocator CreateAllocator(string name)

Parameters

name string
The name of the operation, for diagnostics.

Returns

FontAllocator