PGF Console 6.21.2
|
#include <CImage.h>
Public Member Functions | |
CImage () | |
virtual | ~CImage () |
bool | Create (int width, int height, int bpp) |
bool | Create (int width, int height, unsigned char type) |
unsigned char * | GetBits () const |
int | GetPitch () const |
unsigned char | GetBPP () const |
unsigned int | GetHeight () const |
unsigned int | GetWidth () const |
bool | Save (const char *dest) |
bool | Load (const char *source) |
bool | IsTransparencySupported () |
bool | IsIndexed () |
int | GetMaxColorTableEntries () |
void | GetColorTable (int firstColor, int numColors, void *prgbColors) |
void | SetColorTable (int firstColor, int numColors, const void *prgbColors) |
unsigned char | GetColorType () const |
int | GetChannelDepth () const |
int | GetChannels () const |
void | SetMaxValue (int maxValue) |
int | GetMaxValue () const |
Static Public Member Functions | |
static void | RegisterPNM () |
Private Attributes | |
fipImage * | m_image |
CImage::CImage | ( | ) |
Definition at line 28 of file CImage.cpp.
|
virtual |
Definition at line 37 of file CImage.cpp.
bool CImage::Create | ( | int | width, |
int | height, | ||
int | bpp ) |
Definition at line 43 of file CImage.cpp.
bool CImage::Create | ( | int | width, |
int | height, | ||
unsigned char | type ) |
Definition at line 49 of file CImage.cpp.
unsigned char * CImage::GetBits | ( | ) | const |
Definition at line 97 of file CImage.cpp.
unsigned char CImage::GetBPP | ( | ) | const |
Definition at line 107 of file CImage.cpp.
int CImage::GetChannelDepth | ( | ) | const |
Definition at line 250 of file CImage.cpp.
int CImage::GetChannels | ( | ) | const |
Definition at line 276 of file CImage.cpp.
void CImage::GetColorTable | ( | int | firstColor, |
int | numColors, | ||
void * | prgbColors ) |
Definition at line 156 of file CImage.cpp.
unsigned char CImage::GetColorType | ( | ) | const |
Definition at line 178 of file CImage.cpp.
unsigned int CImage::GetHeight | ( | ) | const |
Definition at line 112 of file CImage.cpp.
int CImage::GetMaxColorTableEntries | ( | ) |
Definition at line 151 of file CImage.cpp.
int CImage::GetMaxValue | ( | ) | const |
Definition at line 323 of file CImage.cpp.
int CImage::GetPitch | ( | ) | const |
Definition at line 102 of file CImage.cpp.
unsigned int CImage::GetWidth | ( | ) | const |
Definition at line 117 of file CImage.cpp.
bool CImage::IsIndexed | ( | ) |
Definition at line 144 of file CImage.cpp.
bool CImage::IsTransparencySupported | ( | ) |
Definition at line 139 of file CImage.cpp.
bool CImage::Load | ( | const char * | source | ) |
Definition at line 127 of file CImage.cpp.
|
static |
Definition at line 303 of file CImage.cpp.
bool CImage::Save | ( | const char * | dest | ) |
Definition at line 122 of file CImage.cpp.
void CImage::SetColorTable | ( | int | firstColor, |
int | numColors, | ||
const void * | prgbColors ) |
Definition at line 167 of file CImage.cpp.
void CImage::SetMaxValue | ( | int | maxValue | ) |
Definition at line 319 of file CImage.cpp.