Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXTGAIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.


namespace  FX


bool fxcheckTGA (FXStream &store)
bool fxloadTGA (FXStream &store, FXColor *&data, FXint &width, FXint &height)
bool fxsaveTGA (FXStream &store, const FXColor *data, FXint width, FXint height)

Function Documentation

bool FX::fxcheckTGA FXStream &  store  ) 

Check if stream contains a TARGA, return TRUE if so.

bool FX::fxloadTGA FXStream &  store,
FXColor *&  data,
FXint width,
FXint height

Load an TARGA file from a stream.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxsaveTGA FXStream &  store,
const FXColor data,
FXint  width,
FXint  height

Save an TARGA file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp