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 bool savePixels (FXStream &store) const
virtual bool loadPixels (FXStream &store)
virtual ~FXTGAImage ()

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []

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 bool FX::FXTGAImage::savePixels FXStream store  )  const [virtual]
 

Save pixels into stream in TARGA file.

Reimplemented from FX::FXImage.

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

Load pixels from stream in TARGA format.

Reimplemented from FX::FXImage.


Member Data Documentation

const FXchar FX::FXTGAImage::fileExt[] [static]
 

const FXchar FX::FXTGAImage::mimeType[] [static]
 

Copyright © 1997-2005 Jeroen van der Zijp