ImageFormat Class Reference
[Graphics]
Inheritance diagram for ImageFormat:

Classes | |
| struct | ImageFormatEntry |
Public Member Functions | |
| virtual | ~ImageFormat () |
| virtual int | GetWidth ()=0 |
| virtual int | GetHeight ()=0 |
| virtual int | GetCelCount ()=0 |
| virtual float | GetCelDelay (int celIndex)=0 |
| virtual void | CopyPixels (unsigned int *destination)=0 |
Static Public Member Functions | |
| static ImageFormat * | CreateImageFormat (const Asset &asset) |
Static Protected Member Functions | |
| static void | RegisterImageFormat (bool(*TestFunction)(const Asset &), ImageFormat *(*CreateFunction)(const Asset &)) |
Detailed Description
Definition at line 22 of file ImageFormat.h.
Constructor & Destructor Documentation
| virtual ImageFormat::~ImageFormat | ( | ) | [virtual] |
Destructor
Definition at line 28 of file ImageFormat.h.
Member Function Documentation
| virtual int ImageFormat::GetWidth | ( | ) | [pure virtual] |
Implemented in ImageFormat_GIF, ImageFormat_JPG, ImageFormat_PNG, and ImageFormat_TGA.
| virtual int ImageFormat::GetHeight | ( | ) | [pure virtual] |
Implemented in ImageFormat_GIF, ImageFormat_JPG, ImageFormat_PNG, and ImageFormat_TGA.
| virtual int ImageFormat::GetCelCount | ( | ) | [pure virtual] |
Implemented in ImageFormat_GIF, ImageFormat_JPG, ImageFormat_PNG, and ImageFormat_TGA.
| virtual float ImageFormat::GetCelDelay | ( | int | celIndex | ) | [pure virtual] |
Implemented in ImageFormat_GIF, ImageFormat_JPG, ImageFormat_PNG, and ImageFormat_TGA.
| virtual void ImageFormat::CopyPixels | ( | unsigned int * | destination | ) | [pure virtual] |
Implemented in ImageFormat_GIF, ImageFormat_JPG, ImageFormat_PNG, and ImageFormat_TGA.
| ImageFormat * ImageFormat::CreateImageFormat | ( | const Asset & | asset | ) | [static] |
Definition at line 23 of file ImageFormat.cpp.
| void ImageFormat::RegisterImageFormat | ( | bool(*)(const Asset &) | TestFunction, | |
| ImageFormat *(*)(const Asset &) | CreateFunction | |||
| ) | [static, protected] |
Definition at line 12 of file ImageFormat.cpp.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
