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

FX::FXPNGImage Class Reference

Portable Network Graphics (PNG) Image class.

#include <FXPNGImage.h>

Inheritance diagram for FX::FXPNGImage:

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

Public Methods

 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 FXbool loadPixels (FXStream &store)
 Save pixels into stream in PNG format.

virtual FXbool savePixels (FXStream &store) const
 Load pixels from stream in PNG format.

virtual ~FXPNGImage ()
 Destroy.