Inheritance diagram for Exponent::GUI::Graphics::CBaseImage:
Definition at line 32 of file CBaseImage.hpp.
Exponent::GUI::Graphics::CBaseImage::CBaseImage | ( | ) |
Construction
virtual Exponent::GUI::Graphics::CBaseImage::~CBaseImage | ( | ) | [virtual] |
Destruction
virtual void Exponent::GUI::Graphics::CBaseImage::dereference | ( | ) | [virtual] |
Decrement the reference count. Object is deleted if reference count is <= 0
Implements Exponent::Basics::ICountedObject.
virtual const CSystemString& Exponent::GUI::Graphics::CBaseImage::getFileName | ( | ) | const [inline, virtual] |
Get the file name of the image
const | CSystemString& The name of the file that is currently loaded |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 69 of file CBaseImage.hpp.
References m_filename.
virtual HBITMAP Exponent::GUI::Graphics::CBaseImage::getImageHandle | ( | ) | const [inline, virtual] |
Get the image handle
HBITMAP | The windows bitmap |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 113 of file CBaseImage.hpp.
References m_theBitmap.
virtual const CDimension& Exponent::GUI::Graphics::CBaseImage::getImageSize | ( | ) | const [inline, virtual] |
Get the size of the image
const | CDimension& The size of the image |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 57 of file CBaseImage.hpp.
References m_dimension.
const CString& Exponent::GUI::Graphics::CBaseImage::getLastError | ( | ) | const [inline] |
Get the last error that occured
const | CString& The last error |
Definition at line 104 of file CBaseImage.hpp.
References m_lastError.
virtual const CRect& Exponent::GUI::Graphics::CBaseImage::getNormalisedImageSize | ( | ) | const [inline, virtual] |
Get the normalised image size
const | CRect& 0,0 original size |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 63 of file CBaseImage.hpp.
References m_size.
virtual void Exponent::GUI::Graphics::CBaseImage::getObjectDescription | ( | char * | string, | |
const long | size | |||
) | const [virtual] |
Get a description of the object
string | On return is filled with the description | |
size | The size of the stirng |
Implements Exponent::Basics::ICountedObject.
virtual long Exponent::GUI::Graphics::CBaseImage::getReferenceCount | ( | ) | const [virtual] |
Get the reference count
long | The reference count |
Implements Exponent::Basics::ICountedObject.
virtual bool Exponent::GUI::Graphics::CBaseImage::hasImageLoaded | ( | ) | const [inline, virtual] |
Is there an image loaded
bool | True if image is loaded, false otherwise |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 98 of file CBaseImage.hpp.
References m_imageLoaded.
virtual bool Exponent::GUI::Graphics::CBaseImage::imageHasAlpha | ( | ) | const [inline, virtual] |
Does the image have an alpha channel
bool | True if the image has an alpha channel, false otherwise |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 92 of file CBaseImage.hpp.
References m_hasAlpha.
virtual bool Exponent::GUI::Graphics::CBaseImage::loadFromFile | ( | const CSystemString & | filename | ) | [inline, virtual] |
Load from a file
filename | The name of the file |
bool | True if loaded the image properly, false on error |
Reimplemented in Exponent::GUI::Graphics::CBitmapImage, Exponent::GUI::Graphics::CJPEGImage, Exponent::GUI::Graphics::CPNGImage, and Exponent::GUI::Graphics::CTGAImage.
Definition at line 79 of file CBaseImage.hpp.
virtual void Exponent::GUI::Graphics::CBaseImage::referenced | ( | ) | [virtual] |
Increment the reference count
Implements Exponent::Basics::ICountedObject.
virtual void Exponent::GUI::Graphics::CBaseImage::unloadImage | ( | ) | [virtual] |
Unload the image
Implements Exponent::GUI::Graphics::IImage.
CDimension Exponent::GUI::Graphics::CBaseImage::m_dimension [protected] |
CSystemString Exponent::GUI::Graphics::CBaseImage::m_filename [protected] |
bool Exponent::GUI::Graphics::CBaseImage::m_hasAlpha [protected] |
bool Exponent::GUI::Graphics::CBaseImage::m_imageLoaded [protected] |
Is there an image loaded?
Definition at line 155 of file CBaseImage.hpp.
Referenced by hasImageLoaded().
CString Exponent::GUI::Graphics::CBaseImage::m_lastError [protected] |
The last error that occurred, fill this in to have it included in exception reports
Definition at line 160 of file CBaseImage.hpp.
Referenced by getLastError().
long Exponent::GUI::Graphics::CBaseImage::m_referenceCount [protected] |
How many things point to this item?
Definition at line 154 of file CBaseImage.hpp.
CRect Exponent::GUI::Graphics::CBaseImage::m_size [protected] |
size of the image
Definition at line 157 of file CBaseImage.hpp.
Referenced by getNormalisedImageSize().
HBITMAP Exponent::GUI::Graphics::CBaseImage::m_theBitmap [protected] |