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

FX::FXTGAImage Class Reference

TARGA graphics file. More...

#include <FXTGAImage.h>

Inheritance diagram for FX::FXTGAImage:

FX::FXImage FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXTGAImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
virtual FXbool savePixels (FXStream &store) const
virtual FXbool loadPixels (FXStream &store)
virtual ~FXTGAImage ()

Detailed Description

TARGA graphics file.


Constructor & Destructor Documentation

FX::FXTGAImage::FXTGAImage FXApp a,
const void *  pix = NULL,
FXuint  opts = 0,
FXint  w = 1,
FXint  h = 1
 

Construct image from memory stream formatted in TARGA file.

virtual FX::FXTGAImage::~FXTGAImage  )  [virtual]
 

Destroy image.


Member Function Documentation

virtual FXbool FX::FXTGAImage::savePixels FXStream store  )  const [virtual]
 

Save pixels into stream in TARGA file.

Reimplemented from FX::FXImage.

virtual FXbool FX::FXTGAImage::loadPixels FXStream store  )  [virtual]
 

Load pixels from stream in TARGA format.

Reimplemented from FX::FXImage.

Copyright © 1997-2004 Jeroen van der Zijp