Struct GlyphShape
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
dataReadOnlySpan<byte>
Properties
Bounds
Gets the unscaled bounding box of the glyph in font units.
public GlyphShape.GlyphBound Bounds { get; }
Property Value
Methods
Visit(IGlyphPathBuilder)
public void Visit(IGlyphPathBuilder builder)
Parameters
builderIGlyphPathBuilder