The OpenD Programming Language

FONScontextInternal.create

Create new FontStash context. It can be destroyed with fs.kill() later.

Note that if you don't plan to rasterize glyphs (i.e. you will use created FontStash only to measure text), you can simply pass FONSParams.init).

struct FONScontextInternal
static nothrow @trusted @nogc
create
()
(
const scope auto ref FONSParams params
)

Meta