Starshatter_Open
Open source Starshatter engine
|
#include <PngImage.h>
Public Member Functions | |
PngImage () | |
~PngImage () | |
int | Load (char *filename) |
int | LoadBuffer (unsigned char *buf, int len) |
int | CreateImage (png_structp png_ptr, png_infop info_ptr) |
Static Public Member Functions | |
static const char * | TYPENAME () |
Public Attributes | |
DWORD * | image |
DWORD | width |
DWORD | height |
DWORD | bpp |
bool | alpha_loaded |
Definition at line 26 of file PngImage.h.
PngImage::PngImage | ( | ) |
Definition at line 32 of file PngImage.cpp.
PngImage::~PngImage | ( | ) |
Definition at line 36 of file PngImage.cpp.
int PngImage::CreateImage | ( | png_structp | png_ptr, |
png_infop | info_ptr | ||
) |
Definition at line 172 of file PngImage.cpp.
int PngImage::Load | ( | char * | filename | ) |
Definition at line 43 of file PngImage.cpp.
int PngImage::LoadBuffer | ( | unsigned char * | buf, |
int | len | ||
) |
Definition at line 122 of file PngImage.cpp.
|
inlinestatic |
Definition at line 28 of file PngImage.h.
bool PngImage::alpha_loaded |
Definition at line 41 of file PngImage.h.
DWORD PngImage::bpp |
Definition at line 40 of file PngImage.h.
DWORD PngImage::height |
Definition at line 39 of file PngImage.h.
DWORD* PngImage::image |
Definition at line 37 of file PngImage.h.
DWORD PngImage::width |
Definition at line 38 of file PngImage.h.