#include <Image.h>
Public Types | |
enum | Type { GIF, JPEG } |
Public Member Functions | |
Image () | |
virtual | ~Image () |
bool | Open (const char *filename) |
void | Read (unsigned char *data) |
int | GetWidth () const |
int | GetHeight () const |
int | GetComponents () const |
Private Attributes | |
Type | _type |
int | _width |
int | _height |
int | _components |
enum Image::Type |
Image::Image | ( | ) |
Image::~Image | ( | ) | [virtual] |
bool Image::Open | ( | const char * | filename | ) |
void Image::Read | ( | unsigned char * | data | ) |
int Image::GetWidth | ( | ) | const [inline] |
int Image::GetHeight | ( | ) | const [inline] |
int Image::GetComponents | ( | ) | const [inline] |
Type Image::_type [private] |
int Image::_width [private] |
int Image::_height [private] |
int Image::_components [private] |