Inheritance diagram for Exponent::GUI::Graphics::CBitmapImage:
Definition at line 34 of file CBitmapImage.hpp.
Exponent::GUI::Graphics::CBitmapImage::CBitmapImage | ( | const CSystemString & | filename | ) |
Construction with a file name
filename | Name of the file to load |
CException | On load error |
Exponent::GUI::Graphics::CBitmapImage::CBitmapImage | ( | ) |
Construction
virtual Exponent::GUI::Graphics::CBitmapImage::~CBitmapImage | ( | ) | [virtual] |
Destruction
virtual EImageFormats Exponent::GUI::Graphics::CBitmapImage::getImageFormat | ( | ) | const [inline, virtual] |
Get the format
EImageFormats | The format of the image |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 68 of file CBitmapImage.hpp.
References Exponent::GUI::Graphics::IImage::e_bitmap.
static CBitmapImage* Exponent::GUI::Graphics::CBitmapImage::getNewInstance | ( | const CSystemString & | path, | |
const CString & | filename | |||
) | [static] |
Get a new bitmap image instance
path | The containing folder of the image | |
filename | the name of the file |
CBitmapImage* | The new instance or NULL on error |
virtual bool Exponent::GUI::Graphics::CBitmapImage::loadFromFile | ( | const CSystemString & | filename | ) | [virtual] |
Load from a file
filename | The name of the file, expected to be a 32bpp TGA file |
bool | True if loaded the image properly, false on error |
Reimplemented from Exponent::GUI::Graphics::CBaseImage.