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

FX::FXJPGImage Class Reference

JPEG Image class. More...

#include <FXJPGImage.h>

Inheritance diagram for FX::FXJPGImage:

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

Public Member Functions

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

Detailed Description

JPEG Image class.


Constructor & Destructor Documentation

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

Construct an image from memory stream formatted in JPEG format.

virtual FX::FXJPGImage::~FXJPGImage  )  [virtual]
 

Destroy.


Member Function Documentation

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

Save pixels into stream in JPEG format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in JPEG format.

Reimplemented from FX::FXImage.

void FX::FXJPGImage::setQuality FXint  q  )  [inline]
 

Set image quality to save with.

FXint FX::FXJPGImage::getQuality  )  const [inline]
 

Get image quality setting.

Copyright © 1997-2004 Jeroen van der Zijp