drawRune

fnVec2 drawRune(FontId font, dchar rune, Vec2 position, DrawOptions options = DrawOptions()) @safe @trusted nothrow @nogc

Draws a single character from the specified font at the given position with the specified draw options.

fnVec2 drawRune(dchar rune, Vec2 position, DrawOptions options = DrawOptions()) @safe @trusted nothrow @nogc

Draws a single character from the default font at the given position with the specified draw options. Call setDefaultFont before using this function.