![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXTIFImage.h>
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 |
TIFF Image class.
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.
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.
const FXchar FX::FXTIFImage::fileExt[] [static] |
const FXchar FX::FXTIFImage::mimeType[] [static] |
const bool FX::FXTIFImage::supported [static] |
True if format is supported.
![]() |