ScummVM API documentation
Illusions::TextDrawer Class Reference

Public Member Functions

bool wrapText (FontResource *font, uint16 *text, WidthHeight *dimensions, Common::Point offsPt, uint textFlags, uint16 *&outTextPtr)
 
void drawText (Screen *screen, Graphics::Surface *surface, uint16 backgroundColor, uint16 borderColor)
 

Protected Member Functions

bool textHasChar (uint16 c)
 
int16 getSpaceWidth ()
 
int16 getCharWidth (uint16 c)
 
bool wrapTextIntern (int16 x, int16 y, int16 maxWidth, int16 maxHeight, uint16 *&outTextPtr)
 

Protected Attributes

FontResource_font
 
uint16 * _text
 
WidthHeight_dimensions
 
Common::Point _offsPt
 
uint _textFlags
 
Graphics::Surface_surface
 
Common::Array< TextLine_textLines
 

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