ScummVM API documentation
Toon::Picture Class Reference

Public Member Functions

 Picture (ToonEngine *vm)
 
bool loadPicture (const Common::Path &file)
 
void setupPalette ()
 
void draw (Graphics::Surface &surface, int16 x, int16 y, int16 dx, int16 dy)
 
void drawWithRectList (Graphics::Surface &surface, int16 x, int16 y, int16 dx, int16 dy, Common::Array< Common::Rect > &rectArray)
 
void drawMask (Graphics::Surface &surface, int16 x, int16 y, int16 dx, int16 dy)
 
void drawLineOnMask (int16 x, int16 y, int16 x2, int16 y2, bool walkable)
 
void floodFillNotWalkableOnMask (int16 x, int16 y)
 
uint8 getData (int16 x, int16 y)
 
uint8 * getDataPtr ()
 
int16 getWidth () const
 
int16 getHeight () const
 

Protected Attributes

int16 _width
 
int16 _height
 
uint8 * _data
 
uint8 * _palette
 
int32 _paletteEntries
 
bool _useFullPalette
 
ToonEngine_vm
 

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