|
corona
1.0.2
|


Public Member Functions | |
| TestDeletionImage (int width, int height, PixelFormat format, byte *pixels, byte *palette, int palette_size, PixelFormat palette_format, bool &deleted) | |
| ~TestDeletionImage () | |
| int COR_CALL | getWidth () |
| int COR_CALL | getHeight () |
| PixelFormat COR_CALL | getFormat () |
| void *COR_CALL | getPixels () |
| void *COR_CALL | getPalette () |
| int COR_CALL | getPaletteSize () |
| PixelFormat COR_CALL | getPaletteFormat () |
Basically the same as SimpleImage, but it sets a boolean flag when the image is deleted.
Definition at line 120 of file APITests.cpp.
| TestDeletionImage::TestDeletionImage | ( | int | width, |
| int | height, | ||
| PixelFormat | format, | ||
| byte * | pixels, | ||
| byte * | palette, | ||
| int | palette_size, | ||
| PixelFormat | palette_format, | ||
| bool & | deleted | ||
| ) | [inline] |
Definition at line 122 of file APITests.cpp.
| TestDeletionImage::~TestDeletionImage | ( | ) | [inline] |
Definition at line 138 of file APITests.cpp.
| int COR_CALL TestDeletionImage::getWidth | ( | ) | [inline, virtual] |
Get image width.
Implements corona::Image.
Definition at line 144 of file APITests.cpp.
| int COR_CALL TestDeletionImage::getHeight | ( | ) | [inline, virtual] |
Get image height.
Implements corona::Image.
Definition at line 148 of file APITests.cpp.
| PixelFormat COR_CALL TestDeletionImage::getFormat | ( | ) | [inline, virtual] |
Get pixel format.
Implements corona::Image.
Definition at line 152 of file APITests.cpp.
| void* COR_CALL TestDeletionImage::getPixels | ( | ) | [inline, virtual] |
Get pixel buffer. The pixels are packed in the format defined by the image's pixel format.
Implements corona::Image.
Definition at line 156 of file APITests.cpp.
| void* COR_CALL TestDeletionImage::getPalette | ( | ) | [inline, virtual] |
Get the palette. Pixels are packed in the format defined by getPaletteFormat().
Implements corona::Image.
Definition at line 160 of file APITests.cpp.
| int COR_CALL TestDeletionImage::getPaletteSize | ( | ) | [inline, virtual] |
Get the number of entries in the palette.
Implements corona::Image.
Definition at line 164 of file APITests.cpp.
| PixelFormat COR_CALL TestDeletionImage::getPaletteFormat | ( | ) | [inline, virtual] |
Get the format of the colors in the palette.
Implements corona::Image.
Definition at line 168 of file APITests.cpp.
1.7.6.1