#include <TdkImage.h>
Inheritance diagram for TdkImage:
Public Member Functions | |
TdkImage (int w, int h) | |
Constructor. | |
virtual | ~TdkImage () |
virtual TdkImageRepType | getType () |
virtual int | getWidth () |
virtual int | getHeight () |
virtual bool | isValid () |
virtual void | freeBuffersOnDeletion (bool deleteBuffers) |
Protected Attributes | |
int | _width |
int | _height |
image dimensions | |
bool | _freeBuffersOnDeletion |
TdkImage::TdkImage | ( | int | w, | |
int | h | |||
) |
Constructor.
/params w, h image dimensions
TdkImage::~TdkImage | ( | ) | [virtual] |
TdkImageRepType TdkImage::getType | ( | ) | [virtual] |
Gets the image type.
Reimplemented in TdkImageFormatted, TdkImageMap, TdkImageRGB, and TdkImageRGBA.
virtual int TdkImage::getWidth | ( | ) | [inline, virtual] |
virtual int TdkImage::getHeight | ( | ) | [inline, virtual] |
bool TdkImage::isValid | ( | ) | [virtual] |
Tells whether this image data is valid.
Reimplemented in TdkImageFormatted, TdkImageMap, TdkImageRGB, and TdkImageRGBA.
void TdkImage::freeBuffersOnDeletion | ( | bool | deleteBuffers | ) | [virtual] |
int TdkImage::_width [protected] |
int TdkImage::_height [protected] |
image dimensions
bool TdkImage::_freeBuffersOnDeletion [protected] |