Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PngImage Struct Reference

#include <PngImage.h>

List of all members.

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

Detailed Description

Definition at line 26 of file PngImage.h.


Constructor & Destructor Documentation

PngImage::PngImage ( )

Definition at line 32 of file PngImage.cpp.

PngImage::~PngImage ( )

Definition at line 36 of file PngImage.cpp.


Member Function Documentation

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.

static const char* PngImage::TYPENAME ( )
inlinestatic

Definition at line 28 of file PngImage.h.


Member Data Documentation

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.


The documentation for this struct was generated from the following files: