#include <corona.h>
Inheritance diagram for corona::Image:
Public Methods | |
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 |
Definition at line 166 of file corona.h.
|
Get image width.
Implemented in corona::SimpleImage. Referenced by corona::DirectConversion(), corona::ExpandPalette(), corona::SavePNG(), and corona::SaveTGA(). |
|
Get image height.
Implemented in corona::SimpleImage. Referenced by corona::DirectConversion(), corona::ExpandPalette(), corona::SavePNG(), and corona::SaveTGA(). |
|
Get pixel format.
Implemented in corona::SimpleImage. Referenced by corona::DirectConversion(), and corona::SavePNG(). |
|
Get pixel buffer. The pixels are packed in the format defined by the image's pixel format.
Implemented in corona::SimpleImage. Referenced by corona::DirectConversion(), corona::ExpandPalette(), corona::SavePNG(), and corona::SaveTGA(). |
|
Get the palette. Pixels are packed in the format defined by getPaletteFormat().
Implemented in corona::SimpleImage. Referenced by corona::ExpandPalette(), and corona::SavePNG(). |
|
Get the number of entries in the palette.
Implemented in corona::SimpleImage. Referenced by corona::SavePNG(). |
|
Get the format of the colors in the palette.
Implemented in corona::SimpleImage. Referenced by corona::ExpandPalette(), and corona::SavePNG(). |