![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXPNGImage.h>
Public Member Functions | |
FXPNGImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1) | |
virtual bool | loadPixels (FXStream &store) |
virtual bool | savePixels (FXStream &store) const |
virtual | ~FXPNGImage () |
Static Public Attributes | |
static const FXchar | fileExt [] |
static const FXchar | mimeType [] |
static const bool | supported |
Portable Network Graphics (PNG) Image class.
FX::FXPNGImage::FXPNGImage | ( | FXApp * | a, |
const void * | pix = NULL , |
||
FXuint | opts = 0 , |
||
FXint | w = 1 , |
||
FXint | h = 1 |
||
) |
Construct an image from memory stream formatted in PNG format.
virtual FX::FXPNGImage::~FXPNGImage | ( | ) | [virtual] |
Destroy.
virtual bool FX::FXPNGImage::loadPixels | ( | FXStream & | store | ) | [virtual] |
Save pixels into stream in PNG format.
Reimplemented from FX::FXImage.
virtual bool FX::FXPNGImage::savePixels | ( | FXStream & | store | ) | const [virtual] |
Load pixels from stream in PNG format.
Reimplemented from FX::FXImage.
const FXchar FX::FXPNGImage::fileExt[] [static] |
const FXchar FX::FXPNGImage::mimeType[] [static] |
const bool FX::FXPNGImage::supported [static] |
True if format is supported.
![]() |