#include <CzImage.h>
List of all members.
Public Types |
enum | eState { State_Invalid,
State_Loading,
State_Loaded,
State_Uploaded
} |
enum | eFormat {
Format_Invalid,
Format_RGB332,
Format_RGB565,
Format_RGB888,
Format_RGBA4444,
Format_RGBA6666,
Format_RGBA5551,
Format_RGBA8888
} |
Public Member Functions |
eState | getState () const |
CzTexture | getTexture () |
int | getWidth () const |
int | getHeight () const |
CzImage * | getCopy () |
void | setFilter (bool enable) |
bool | isFilter () const |
bool | isFilterSet () const |
void | setToFormat (eFormat format) |
eFormat | getFormat () const |
| CzImage () |
virtual | ~CzImage () |
bool | Init (void *memory_file, int memory_file_size) |
void | Init (const char *filename) |
bool | Init (void *pixels, int width, int height, int pitch, eFormat format, bool modifiable) |
void | Release () |
bool | Load (bool blocking=true) |
bool | Reload (const char *filename, bool blocking=true) |
void | ChangePixels (void *data, CzImage::eFormat format) |
CzTexture | ConvertToFormat (CzImage &source, CzImage::eFormat format) |
void | SavePng (const char *filename) |
void | SaveJpg (const char *filename, int quality=100) |
int | LoadFromXoml (IzXomlResource *parebt, bool load_children, CzXmlNode *node) |
void | FinishLoad () |
Protected Member Functions |
bool | DecompressJPEG (char *jpeg_data, int jpeg_data_size) |
Protected Attributes |
CzTexture | Texture |
CzTextureinfo | TextureInfo |
eState | State |
bool | Filter |
bool | FilterSet |
eFormat | ToFormat |
bool | ToFormatSet |
CzFile * | File |
Member Enumeration Documentation
- Enumerator:
Format_Invalid |
|
Format_RGB332 |
|
Format_RGB565 |
|
Format_RGB888 |
|
Format_RGBA4444 |
|
Format_RGBA6666 |
|
Format_RGBA5551 |
|
Format_RGBA8888 |
|
- Enumerator:
State_Invalid |
|
State_Loading |
|
State_Loaded |
|
State_Uploaded |
|
Constructor & Destructor Documentation
Member Function Documentation
bool CzImage::Init |
( |
void * |
pixels, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
pitch, |
|
|
eFormat |
format, |
|
|
bool |
modifiable |
|
) |
| |
Member Data Documentation
The documentation for this class was generated from the following files: