ScummVM API documentation
TsAGE::GfxFont Class Reference

Public Member Functions

void setFontNumber (uint32 fontNumber)
 
int32 getHeight () const
 
int getCharWidth (char ch)
 
int getStringWidth (const char *s, int numChars)
 
int getStringWidth (const char *s)
 
int getStringFit (const char *&s, int maxWidth)
 
void getStringBounds (const char *s, Rect &bounds, int maxWidth)
 
void setOwner (GfxManager *owner)
 
void setPosition (int xp, int yp)
 
int writeChar (const char ch)
 
void writeString (const char *s)
 
void writeString (const char *s, int numChars)
 
void writeLines (const char *s, const Rect &bounds, TextAlign align)
 

Public Attributes

Common::Point _edgeSize
 
Common::Point _position
 
bool _fillFlag
 
GfxColors _colors
 
GfxColors _colors2
 
uint32 _fontNumber
 
Common::Point _topLeft
 

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