ScummVM API documentation
hpl::Bitmap2D Class Reference
Inheritance diagram for hpl::Bitmap2D:
hpl::LowLevelPicture

Public Member Functions

 Bitmap2D (const cVector2l &size, const Graphics::PixelFormat &format)
 
 Bitmap2D (const tString &filename, const tString &type, const Graphics::PixelFormat &desiredFormat={})
 
void drawToBitmap (Bitmap2D &dest, const cVector2l &at, Common::Rect srcSubrect={})
 
bool create (const cVector2l &size, const Graphics::PixelFormat &format)
 
void fillRect (const cRect2l &rect, const cColor &color)
 
const void * getRawData () const
 
int getNumChannels ()
 
const Graphics::PixelFormatformat () const
 
bool hasAlpha () override
 
uint32 getBpp () const override
 
void copyRedToAlpha ()
 
- Public Member Functions inherited from hpl::LowLevelPicture
 LowLevelPicture (const tString &type)
 
tString getType ()
 
uint32 getHeight () const
 
uint32 getWidth () const
 
void setPath (const tString &path)
 
tString getPath ()
 
tString getFileName () const
 

Additional Inherited Members

- Protected Attributes inherited from hpl::LowLevelPicture
uint32 _height
 
uint32 _width
 

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