#include <TdkImageFormatted.h>
Inheritance diagram for TdkImageFormatted:

Public Member Functions | |
| TdkImageFormatted (int w, int h, int bufferSize, TdkImageFormat format) | |
| Constructor. | |
| TdkImageFormatted (int w, int h, unsigned char *buffer, int bufferSize, TdkImageFormat format) | |
| Constructor. | |
| virtual | ~TdkImageFormatted () |
| Virtual destructor. | |
| virtual TdkImageRepType | getType () |
| virtual TdkImageFormat | getFormat () |
| virtual unsigned char * | getBuffer () |
| virtual int | getBufferSize () |
| virtual bool | isValid () |
Protected Member Functions | |
| virtual void | clear () |
Protected Attributes | |
| unsigned char * | _buffer |
| data buffer | |
| int | _bufferSize |
| buffer size | |
| TdkImageFormat | _format |
| TdkImageFormatted::TdkImageFormatted | ( | int | w, | |
| int | h, | |||
| int | bufferSize, | |||
| TdkImageFormat | format | |||
| ) |
Constructor.
| TdkImageFormatted::TdkImageFormatted | ( | int | w, | |
| int | h, | |||
| unsigned char * | buffer, | |||
| int | bufferSize, | |||
| TdkImageFormat | format | |||
| ) |
Constructor.
| TdkImageFormatted::~TdkImageFormatted | ( | ) | [virtual] |
Virtual destructor.
| virtual TdkImageRepType TdkImageFormatted::getType | ( | ) | [inline, virtual] |
| virtual TdkImageFormat TdkImageFormatted::getFormat | ( | ) | [inline, virtual] |
Gets the image format.
| virtual unsigned char* TdkImageFormatted::getBuffer | ( | ) | [inline, virtual] |
Gets the data buffer.
| virtual int TdkImageFormatted::getBufferSize | ( | ) | [inline, virtual] |
Gets the buffer size.
| bool TdkImageFormatted::isValid | ( | ) | [virtual] |
Tells whether this image data is valid.
Reimplemented from TdkImage.
| void TdkImageFormatted::clear | ( | ) | [protected, virtual] |
unsigned char* TdkImageFormatted::_buffer [protected] |
data buffer
int TdkImageFormatted::_bufferSize [protected] |
buffer size
TdkImageFormat TdkImageFormatted::_format [protected] |
1.5.2