The OpenD Programming Language

charToPath

Adds glyph outlines to the current path. Vertical 0 is baseline. The glyph is not scaled in any way, so you have to use NanoVega transformations instead. Returns false if there is no such glyph, or current font is not scalable.

nothrow @trusted @nogc
bool
charToPath
(,
dchar dch
,
float[] bounds = null
)

See Also

Meta