FontRef.glyphOutline

Status!TextError glyphOutline(GlyphId glyph, scope OutlineSink sink) @safe nothrow;

Walks one glyph's outline through a sink, in 26.6 at the pixel size.

Parameters

glyphthe glyph id.
sinkreceives moveTo, lineTo, quadTo, cubicTo, close.

Returns

Status!TextError: success with no sink call for a valid

empty outline, UNSUPPORTED when the face has no outlines at all (FontCapability.OUTLINES absent), INVALID_GLYPH for an unknown glyph, IO/PROVIDER_ERROR for backend failures.