![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXJPGImage.h>
Public Member Functions | |
FXJPGImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1, FXint q=75) | |
void | setQuality (FXint q) |
FXint | getQuality () const |
virtual bool | loadPixels (FXStream &store) |
virtual bool | savePixels (FXStream &store) const |
virtual | ~FXJPGImage () |
Static Public Attributes | |
static const FXchar | fileExt [] |
static const FXchar | mimeType [] |
static const bool | supported |
FX::FXJPGImage::FXJPGImage | ( | FXApp * | a, | |
const void * | pix = NULL , |
|||
FXuint | opts = 0 , |
|||
FXint | w = 1 , |
|||
FXint | h = 1 , |
|||
FXint | q = 75 | |||
) |
Construct an image from memory stream formatted in JPEG format.
virtual FX::FXJPGImage::~FXJPGImage | ( | ) | [virtual] |
Destroy.
void FX::FXJPGImage::setQuality | ( | FXint | q | ) | [inline] |
Set image quality to save with.
FXint FX::FXJPGImage::getQuality | ( | ) | const [inline] |
Get image quality setting.
virtual bool FX::FXJPGImage::loadPixels | ( | FXStream & | store | ) | [virtual] |
virtual bool FX::FXJPGImage::savePixels | ( | FXStream & | store | ) | const [virtual] |
const FXchar FX::FXJPGImage::fileExt[] [static] |
const FXchar FX::FXJPGImage::mimeType[] [static] |
const bool FX::FXJPGImage::supported [static] |
True if format is supported.
![]() |