g4d v1.4.1 (2018-08-14T04:06:44Z)
Dub
Repo
Font
g4d
ft
font
An object of Font.
class
Font {
protected static
FT_Library
_library
;
static
void
initLibrary
();
protected static
size_t
_fontCount
;
protected
FT_Face
_face
;
this
(string path);
~this
();
Glyph
render
(vec2i sz, dchar c);
}
Constructors
this
this
(string path)
Destructor
~this
~this
()
Members
Functions
render
Glyph
render
(vec2i sz, dchar c)
Renders the character.
Static functions
initLibrary
void
initLibrary
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
_fontCount
size_t
_fontCount
;
Undocumented in source.
_library
FT_Library
_library
;
Undocumented in source.
Variables
_face
FT_Face
_face
;
Undocumented in source.
Meta
Source
See Implementation
g4d
ft
font
classes
Font
FontFace
structs
Glyph
An object of Font.