ScummVM API documentation
Crab::pyrodactyl::image::Image Class Reference

Public Member Functions

Graphics::Surfacerotate (const Graphics::ManagedSurface &src, ImageRotateDegrees rotation)
 
void color (const uint8 &r, const uint8 &g, const uint8 &b)
 
int alpha (const uint8 &alpha)
 
uint8 alpha ()
 
bool load (const Common::Path &path)
 
bool load (rapidxml::xml_node< char > *node, const char *name)
 
bool load (Graphics::ManagedSurface *surface)
 
void draw (const int &x, const int &y, Common::Rect *clip=nullptr, const TextureFlipType &flip=FLIP_NONE)
 
void draw (const int &x, const int &y, Rect *clip, const TextureFlipType &flip=FLIP_NONE, Graphics::ManagedSurface *surf=nullptr)
 
void fastDraw (const int &x, const int &y, Rect *clip=nullptr)
 
void deleteImage ()
 
int w ()
 
int h ()
 
bool valid ()
 

Public Attributes

Graphics::ManagedSurface_texture
 

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