ScummVM API documentation
CryOmni3D::FontManager Class Reference

Public Member Functions

void loadFonts (const Common::Array< Common::Path > &fontFiles, Common::CodePage codepage)
 
void loadTTFList (const Common::Path &listFile, Common::CodePage codepage)
 
void setCurrentFont (int currentFont)
 
uint getCurrentFont ()
 
void setTransparentBackground (bool transparent)
 
void setSpaceWidth (uint additionalSpace)
 
void setForeColor (byte color)
 
void setLineHeight (int h)
 
int lineHeight ()
 
void setCharSpacing (uint w)
 
void setSurface (Graphics::ManagedSurface *surface)
 
int getFontMaxHeight ()
 
void displayInt (uint x, uint y, int value) const
 
void displayStr (uint x, uint y, const Common::String &text) const
 
void displayStr (uint x, uint y, const Common::U32String &text) const
 
uint getStrWidth (const Common::String &text) const
 
uint getStrWidth (const Common::U32String &text) const
 
uint getLinesCount (const Common::String &text, uint width)
 
void setupBlock (const Common::Rect &block, bool justifyText=false)
 
bool displayBlockText (const Common::String &text)
 
bool displayBlockTextContinue ()
 
Common::Point blockTextLastPos ()
 

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