PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Public Member Functions | List of all members
RasterFont Class Reference

Public Member Functions

 RasterFont (const RasterFont &rf)
 
void loadFont (QString font_ini)
 
void loadFontMap (QString fontmap_ini)
 
PGE_Size textSize (QString &text, int max_line_lenght=0, bool cut=false)
 
void printText (QString text, int x, int y, float Red=1.f, float Green=1.f, float Blue=1.f, float Alpha=1.f)
 
bool isLoaded ()
 
QString getFontName ()
 

Member Function Documentation

PGE_Size RasterFont::textSize ( QString &  text,
int  max_line_lenght = 0,
bool  cut = false 
)

< index of last found space character

< Count of lines

< detected maximal width of message


The documentation for this class was generated from the following files: