Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

ImageFormat_TGA Class Reference
[Graphics]

Inheritance diagram for ImageFormat_TGA:

ImageFormat

List of all members.


Public Member Functions

 ImageFormat_TGA (const Asset &asset)
 ImageFormat_TGA (int width, int height, void *data)
virtual ~ImageFormat_TGA ()
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_TGA.h.


Constructor & Destructor Documentation

ImageFormat_TGA::ImageFormat_TGA ( const Asset asset  ) 

Constructor

Definition at line 76 of file ImageFormat_TGA.cpp.

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

ImageFormat_TGA::~ImageFormat_TGA (  )  [virtual]

Destructor

Definition at line 94 of file ImageFormat_TGA.cpp.


Member Function Documentation

void ImageFormat_TGA::Register (  )  [static]

Definition at line 16 of file ImageFormat_TGA.cpp.

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

Definition at line 32 of file ImageFormat_TGA.cpp.

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

Definition at line 24 of file ImageFormat_TGA.cpp.

int ImageFormat_TGA::GetWidth (  )  [virtual]

Implements ImageFormat.

Definition at line 103 of file ImageFormat_TGA.cpp.

int ImageFormat_TGA::GetHeight (  )  [virtual]

Implements ImageFormat.

Definition at line 111 of file ImageFormat_TGA.cpp.

int ImageFormat_TGA::GetCelCount (  )  [virtual]

Implements ImageFormat.

Definition at line 119 of file ImageFormat_TGA.cpp.

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

Implements ImageFormat.

Definition at line 135 of file ImageFormat_TGA.cpp.

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

Implements ImageFormat.

Definition at line 127 of file ImageFormat_TGA.cpp.

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

Definition at line 228 of file ImageFormat_TGA.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.