SDL_ttf++
C++wrapperfortheSDL_ttflibrary.
|
Manages fonts. More...
#include <FontManager.h>
Public Member Functions | |
Font | font (const string &fileName, int pointSize) |
Static Public Member Functions | |
static FontManager & | instance () |
Manages fonts.
Definition at line 38 of file FontManager.h.
Font sdl::ttf::FontManager::font | ( | const string & | fileName, |
int | pointSize | ||
) | [inline] |
Returns the Font of the given name in the given point size.
fileName | The name of the Font to retrieve. |
pointSize | The point size. |
Definition at line 59 of file FontManager.h.
static FontManager& sdl::ttf::FontManager::instance | ( | ) | [inline, static] |
Returns an instance of the FontManager.
Definition at line 44 of file FontManager.h.