Functions | |
CxImage::CxImage (uint32_t imagetype=0) | |
CxImage::CxImage (uint32_t dwWidth, uint32_t dwHeight, uint32_t wBpp, uint32_t imagetype=0) | |
CxImage::CxImage (const CxImage &src, bool copypixels=true, bool copyselection=true, bool copyalpha=true) | |
CxImage::CxImage (const TCHAR *filename, uint32_t imagetype) | |
CxImage::CxImage (FILE *stream, uint32_t imagetype) | |
CxImage::CxImage (CxFile *stream, uint32_t imagetype) | |
CxImage::CxImage (uint8_t *buffer, uint32_t size, uint32_t imagetype) | |
virtual | CxImage::~CxImage () |
CxImage & | CxImage::operator= (const CxImage &) |
CxImage::CxImage | ( | uint8_t * | buffer, | |
uint32_t | size, | |||
uint32_t | imagetype | |||
) | [inherited] |
Constructor from memory buffer, see Decode()
buffer,: | memory buffer | |
size,: | size of buffer | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
CxImage::CxImage | ( | CxFile * | stream, | |
uint32_t | imagetype | |||
) | [inherited] |
CxImage::CxImage | ( | FILE * | stream, | |
uint32_t | imagetype | |||
) | [inherited] |
Constructor from file handle, see Decode()
stream,: | file handle, with read access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
CxImage::CxImage | ( | const TCHAR * | filename, | |
uint32_t | imagetype | |||
) | [inherited] |
Constructor from file name, see Load()
filename,: | file name | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
CxImage::CxImage | ( | const CxImage & | src, | |
bool | copypixels = true , |
|||
bool | copyselection = true , |
|||
bool | copyalpha = true | |||
) | [inherited] |
image constructor from existing source
src,: | source image. | |
copypixels,: | copy the pixels from the source image into the new image. | |
copyselection,: | copy the selection from source | |
copyalpha,: | copy the alpha channel from source |
CxImage::CxImage | ( | uint32_t | dwWidth, | |
uint32_t | dwHeight, | |||
uint32_t | wBpp, | |||
uint32_t | imagetype = 0 | |||
) | [inherited] |
Sized image constructor
dwWidth,: | width | |
dwHeight,: | height | |
wBpp,: | bit per pixel, can be 1, 4, 8, 24 | |
imagetype,: | (optional) set the image format, see ENUM_CXIMAGE_FORMATS |
CxImage::CxImage | ( | uint32_t | imagetype = 0 |
) | [inherited] |
Empty image constructor
imagetype,: | (optional) set the image format, see ENUM_CXIMAGE_FORMATS |
virtual CxImage::~CxImage | ( | ) | [inline, virtual, inherited] |