#include <FXJPGImage.h>
Inheritance diagram for FX::FXJPGImage:
Definition at line 35 of file 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 () |
void | setOptions (FXuint opts) |
FXuint | getOptions () const |
virtual void | setData (FXColor *pix, FXuint opts=0) |
virtual void | setData (FXColor *pix, FXuint opts, FXint w, FXint h) |
FXColor * | getData () const |
FXColor | getPixel (FXint x, FXint y) const |
void | setPixel (FXint x, FXint y, FXColor color) |
bool | hasAlpha () const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | restore () |
virtual void | render () |
virtual void | release () |
virtual void | resize (FXint w, FXint h) |
virtual void | scale (FXint w, FXint h, FXint quality=0) |
virtual void | mirror (bool horizontal, bool vertical) |
virtual void | rotate (FXint degrees) |
virtual void | crop (FXint x, FXint y, FXint w, FXint h, FXColor color=0) |
virtual void | fill (FXColor color) |
virtual void | fade (FXColor color, FXint factor=255) |
virtual void | xshear (FXint shear, FXColor clr=0) |
virtual void | yshear (FXint shear, FXColor clr=0) |
virtual void | hgradient (FXColor left, FXColor right) |
virtual void | vgradient (FXColor top, FXColor bottom) |
virtual void | gradient (FXColor topleft, FXColor topright, FXColor bottomleft, FXColor bottomright) |
virtual void | blend (FXColor color) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
FXint | getWidth () const |
FXint | getHeight () const |
FXVisual * | getVisual () const |
void | setVisual (FXVisual *vis) |
FXApp * | getApp () const |
FXEventLoop * | getEventLoop () const |
FXID | id () const |
void | setUserData (void *ptr) |
void * | getUserData () const |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
QTransString | tr (const char *text, const char *hint=0) |
virtual void * | getPythonObject () const |
virtual void | decouplePythonObject () const |
Static Public Attributes | |
static const FXchar * | fileExt |
static const FXchar * | mimeType |
static const bool | supported |
Protected Member Functions | |
FXJPGImage () | |
Protected Attributes | |
FXint | quality |
FXColor * | data |
FXuint | options |
FXVisual * | visual |
FXint | width |
FXint | height |
FXID | xid |