#include <corona.h>
Inherits corona::DLLInterface.
Inheritance diagram for corona::Image:


Public Member Functions | |
| virtual int COR_CALL | getWidth ()=0 |
| virtual int COR_CALL | getHeight ()=0 |
| virtual PixelFormat COR_CALL | getFormat ()=0 |
| virtual void *COR_CALL | getPixels ()=0 |
| virtual void *COR_CALL | getPalette ()=0 |
| virtual int COR_CALL | getPaletteSize ()=0 |
| virtual PixelFormat COR_CALL | getPaletteFormat ()=0 |
| virtual int COR_CALL corona::Image::getWidth | ( | ) | [pure virtual] |
Get image width.
| virtual int COR_CALL corona::Image::getHeight | ( | ) | [pure virtual] |
Get image height.
| virtual PixelFormat COR_CALL corona::Image::getFormat | ( | ) | [pure virtual] |
Get pixel format.
| virtual void* COR_CALL corona::Image::getPixels | ( | ) | [pure virtual] |
Get pixel buffer. The pixels are packed in the format defined by the image's pixel format.
| virtual void* COR_CALL corona::Image::getPalette | ( | ) | [pure virtual] |
Get the palette. Pixels are packed in the format defined by getPaletteFormat().
| virtual int COR_CALL corona::Image::getPaletteSize | ( | ) | [pure virtual] |
Get the number of entries in the palette.
| virtual PixelFormat COR_CALL corona::Image::getPaletteFormat | ( | ) | [pure virtual] |
Get the format of the colors in the palette.
1.5.1-p1