FGAPI fg_err fg_load_font_file(fg_font pFont, const char *const pFileFullPath)
Load a given font file.
FGAPI ~Font()
Font Destructor.
FGAPI fg_err fg_release_font(fg_font pFont)
Destroy font object.
#define FGAPI
Definition: defines.h:28
FGAPI void loadSystemFont(const char *const pName)
Load a system font based on the name.
Font object is essentially a resource handler for the specific font you want to use.
Definition: font.h:86
fg_err
Definition: defines.h:49
FGAPI fg_font get() const
Get handle for internal implementation of Font object.
void * fg_font
Definition: defines.h:41
FGAPI fg_err fg_create_font(fg_font *pFont)
Create a Font object.
FGAPI fg_err fg_load_system_font(fg_font pFont, const char *const pFontName)
Load a system font based on the name.
FGAPI void loadFontFile(const char *const pFile)
Load a given font file.
FGAPI Font()
Creates Font object.
FGAPI fg_err fg_retain_font(fg_font *pOut, fg_font pIn)
Increase reference count of the resource.