Functions | |
bool | CxImage::LoadResource (HRSRC hRes, DWORD imagetype, HMODULE hModule=NULL) |
bool | CxImage::Load (const TCHAR *filename, DWORD imagetype=0) |
bool | CxImage::Decode (FILE *hFile, DWORD imagetype) |
bool | CxImage::Decode (CxFile *hFile, DWORD imagetype) |
bool | CxImage::Decode (BYTE *buffer, DWORD size, DWORD imagetype) |
bool | CxImage::CheckFormat (CxFile *hFile, DWORD imagetype=0) |
bool | CxImage::CheckFormat (BYTE *buffer, DWORD size, DWORD imagetype=0) |
bool CxImage::CheckFormat | ( | BYTE * | buffer, | |
DWORD | size, | |||
DWORD | imagetype = 0 | |||
) | [inherited] |
bool CxImage::CheckFormat | ( | CxFile * | hFile, | |
DWORD | imagetype = 0 | |||
) | [inherited] |
Loads an image from CxFile object
hFile,: | file handle (CxMemFile or CxIOFile), with read access. | |
imagetype,: | file format, default = 0 (CXIMAGE_FORMAT_UNKNOWN) |
bool CxImage::Decode | ( | BYTE * | buffer, | |
DWORD | size, | |||
DWORD | imagetype | |||
) | [inherited] |
Loads an image from memory buffer
buffer,: | memory buffer | |
size,: | size of buffer | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Decode | ( | CxFile * | hFile, | |
DWORD | imagetype | |||
) | [inherited] |
Loads an image from CxFile object
hFile,: | file handle (CxMemFile or CxIOFile), with read access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Decode | ( | FILE * | hFile, | |
DWORD | imagetype | |||
) | [inherited] |
Loads an image from file handle.
hFile,: | file handle, with read access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Load | ( | const TCHAR * | filename, | |
DWORD | imagetype = 0 | |||
) | [inherited] |
Reads from disk the image in a specific format.
filename,: | file name | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::LoadResource | ( | HRSRC | hRes, | |
DWORD | imagetype, | |||
HMODULE | hModule = NULL | |||
) | [inherited] |
Loads an image from the application resources.
hRes,: | the resource handle returned by FindResource(). | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS. | |
hModule,: | NULL for internal resource, or external application/DLL hinstance returned by LoadLibray. |