Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

ImageFormat_PNG Class Reference
[Graphics]

Inheritance diagram for ImageFormat_PNG:

ImageFormat

List of all members.


Public Member Functions

 ImageFormat_PNG (const Asset &asset)
 ImageFormat_PNG (int width, int height, void *data)
virtual ~ImageFormat_PNG ()
virtual int GetWidth ()
virtual int GetHeight ()
virtual int GetCelCount ()
virtual void CopyPixels (unsigned int *destination)
virtual float GetCelDelay (int celIndex)

Static Public Member Functions

static void Register ()
static bool TestAsset (const Asset &asset)
static ImageFormatCreate (const Asset &asset)
static void Save (const Filename &filename, int width, int height, void *data)

Detailed Description

Author:
Mattias Gustavsson

Definition at line 21 of file ImageFormat_PNG.h.


Constructor & Destructor Documentation

ImageFormat_PNG::ImageFormat_PNG ( const Asset asset  ) 

Constructor

Definition at line 60 of file ImageFormat_PNG.cpp.

ImageFormat_PNG::ImageFormat_PNG ( int  width,
int  height,
void *  data 
)

ImageFormat_PNG::~ImageFormat_PNG (  )  [virtual]

Destructor

Definition at line 94 of file ImageFormat_PNG.cpp.


Member Function Documentation

void ImageFormat_PNG::Register (  )  [static]

Definition at line 14 of file ImageFormat_PNG.cpp.

bool ImageFormat_PNG::TestAsset ( const Asset asset  )  [static]

Definition at line 30 of file ImageFormat_PNG.cpp.

ImageFormat * ImageFormat_PNG::Create ( const Asset asset  )  [static]

Definition at line 22 of file ImageFormat_PNG.cpp.

int ImageFormat_PNG::GetWidth (  )  [virtual]

Implements ImageFormat.

Definition at line 102 of file ImageFormat_PNG.cpp.

int ImageFormat_PNG::GetHeight (  )  [virtual]

Implements ImageFormat.

Definition at line 115 of file ImageFormat_PNG.cpp.

int ImageFormat_PNG::GetCelCount (  )  [virtual]

Implements ImageFormat.

Definition at line 128 of file ImageFormat_PNG.cpp.

void ImageFormat_PNG::CopyPixels ( unsigned int *  destination  )  [virtual]

Implements ImageFormat.

Definition at line 144 of file ImageFormat_PNG.cpp.

float ImageFormat_PNG::GetCelDelay ( int  celIndex  )  [virtual]

Implements ImageFormat.

Definition at line 136 of file ImageFormat_PNG.cpp.

void ImageFormat_PNG::Save ( const Filename filename,
int  width,
int  height,
void *  data 
) [static]

Definition at line 199 of file ImageFormat_PNG.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.