Table of Contents

Class GlyfTable

Namespace
Xui.Runtime.Software.Font
Assembly
Xui.Runtime.Software.dll
public class GlyfTable
Inheritance
GlyfTable
Inherited Members

Constructors

GlyfTable(ReadOnlyMemory<byte>, LocaTable)

public GlyfTable(ReadOnlyMemory<byte> data, LocaTable loca)

Parameters

data ReadOnlyMemory<byte>
loca LocaTable

Methods

TryGetGlyph(int, out GlyphShape)

Returns a glyph shape by slicing the raw memory using loca table offsets.

public bool TryGetGlyph(int glyphIndex, out GlyphShape shape)

Parameters

glyphIndex int
shape GlyphShape

Returns

bool