kick
Public Member Functions | Public Attributes | Friends
kick::Font Class Reference
Inheritance diagram for kick::Font:
kick::ProjectAsset

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< Texture2Dtexture () const
void setTexture (std::shared_ptr< Texture2D > texture)
const FontChar getChar (char r)
int scaleW () const
int scaleH () const
std::shared_ptr< ShadergetShader ()
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:
 All Classes Functions Variables