#include <cpixelformat_24.h>
Public Member Functions | |
| CPixelFormat_24 (CBitmap *bitmap) | |
| Default ctor. | |
| ~CPixelFormat_24 () | |
| Default dtor. | |
| void | setPixel (const uint32_t *pixel, uint32_t x, uint32_t y) |
| Modifies pixel at coordinates x, y. | |
| uint32_t | getBitCount () |
| returns color bitcount supported by this class | |
On error CPixelFormat::PixelFormatError is thrown.
| CPixelFormat_24::CPixelFormat_24 | ( | CBitmap * | bitmap | ) | [inline] |
Default ctor.
| bitmap | pointer to CBitmap instance |
| none |
| CPixelFormat_24::~CPixelFormat_24 | ( | ) | [inline] |
Default dtor.
| - |
| none |
| void CPixelFormat_24::setPixel | ( | const uint32_t * | pixel, | |
| uint32_t | x, | |||
| uint32_t | y | |||
| ) | [virtual] |
Modifies pixel at coordinates x, y.
| pixel | pointer to new pixel data | |
| x | x-coordinate | |
| y | y-coordinate |
| PixelFormatError |
Implements CPixelFormat.
| uint32_t CPixelFormat_24::getBitCount | ( | ) | [inline, virtual] |
returns color bitcount supported by this class
| - |
| none |
Implements CPixelFormat.
1.5.3