TgaImageFile Class Reference
[Formats Module]

#include <tgaimagefile.h>

Inheritance diagram for TgaImageFile:

ImageFile DataFile

List of all members.


Detailed Description

Provides read / write access to TGA image file.

Internal LibTGA library is used for decoding TGA files.

Public Member Functions

 TgaImageFile ()
virtual ~TgaImageFile ()
virtual ulong_t LoadData ()
virtual bool SaveData ()


Constructor & Destructor Documentation

TgaImageFile::TgaImageFile (  ) 

Constructor.

TgaImageFile::~TgaImageFile (  )  [virtual]

Destructor. Closes opened file.


Member Function Documentation

ulong_t TgaImageFile::LoadData (  )  [virtual]

Loads image data from opened TGA file.

Custom callback functions are used for accessing the file.

Returns:
Size of loaded data.

Reimplemented from ImageFile.

bool TgaImageFile::SaveData (  )  [virtual]

Saves data into the file. Data has to be loaded before.

Custom callback functions are used for accessing the file.

Returns:
True if successful.

Reimplemented from DataFile.


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:36 2007 for Dark Oberon by  doxygen 1.5.3