Back to API Reference
Struct
ShapingResult
sealed
Result of a shaping operation containing glyphs and metrics.
Remarks
This is a ref struct to allow returning a span without allocation.
[ctor]public ShapingResult(ReadOnlySpan<ShapedGlyph> glyphs, float totalAdvance)Initializes a new instance of the ShapingResult struct.
public readonly ReadOnlySpan<ShapedGlyph> GlyphsThe shaped glyphs with positioning information.
