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

FX::FXTIFImage Class Reference

TIFF Image class. More...

#include <FXTIFImage.h>

Inheritance diagram for FX::FXTIFImage:

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

Public Member Functions

 FXTIFImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
void setCodec (FXuint c)
FXuint getCodec () const
virtual bool loadPixels (FXStream &store)
virtual bool savePixels (FXStream &store) const
virtual ~FXTIFImage ()

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []
static const bool supported

Detailed Description

TIFF Image class.


Constructor & Destructor Documentation

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

Construct an image from memory stream formatted in TIFF format.

virtual FX::FXTIFImage::~FXTIFImage  )  [virtual]
 

Destroy.


Member Function Documentation

void FX::FXTIFImage::setCodec FXuint  c  )  [inline]
 

Set codec to save with.

FXuint FX::FXTIFImage::getCodec  )  const [inline]
 

Get codec setting.

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

Load pixels into stream in TIFF format.

Reimplemented from FX::FXImage.

virtual bool FX::FXTIFImage::savePixels FXStream store  )  const [virtual]
 

Save pixels from stream in TIFF format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

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

const bool FX::FXTIFImage::supported [static]
 

True if format is supported.

Copyright © 1997-2005 Jeroen van der Zijp