Table of Contents

Struct GlyphShape

Namespace
Xui.Runtime.Software.Font
Assembly
Xui.Runtime.Software.dll

A parsed TrueType glyph. This is a lightweight, stack-only view into raw glyph data.

public ref struct GlyphShape
Inherited Members

Constructors

GlyphShape(ReadOnlySpan<byte>)

public GlyphShape(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

Properties

Bounds

Gets the unscaled bounding box of the glyph in font units.

public GlyphShape.GlyphBound Bounds { get; }

Property Value

GlyphShape.GlyphBound

Methods

Visit(IGlyphPathBuilder)

public void Visit(IGlyphPathBuilder builder)

Parameters

builder IGlyphPathBuilder