List of all members.
Public Member Functions |
|
bool | loadFntFile (std::string filename="assets/font/open_sans_28.fnt") |
|
int | width (std::string text) |
|
int | height () |
|
std::shared_ptr< Texture2D > | texture () const |
|
void | setTexture (std::shared_ptr< Texture2D > texture) |
|
const FontChar | getChar (char r) |
|
int | scaleW () const |
|
int | scaleH () const |
|
std::shared_ptr< Shader > | getShader () |
|
void | setShader (std::shared_ptr< Shader > shader) |
|
int | base () const |
|
bool | initialized () const |
Public Attributes |
|
Event< Font * > | fontListener |
Friends |
|
class | Label |
Detailed Description
Definition at line 32 of file font.h.
The documentation for this class was generated from the following files:
- /Users/morten/Programmering/cpp/kick/src/kick/2d/font.h
- /Users/morten/Programmering/cpp/kick/src/kick/2d/font.cpp