font_t
font_t represents a font resource used for rendering text.
Declaration:
// font_t is simply returned from "render::create_font" and has no members
class font_t { }
Constructors:
// takes no arguments and simply returns font_t@
font_t()
Example:
// tahoma at 13px
auto tahoma_13 = render::create_font("C:\\Windows\\Fonts\\Tahoma.ttf", 13f);
Last updated
Was this helpful?