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

FX::FXPNGImage Class Reference

Portable Network Graphics (PNG) Image class. More...

#include <FXPNGImage.h>

Inheritance diagram for FX::FXPNGImage:

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

Public Member Functions

 FXPNGImage (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
virtual ~FXPNGImage ()

Detailed Description

Portable Network Graphics (PNG) Image class.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Save pixels into stream in PNG format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in PNG format.

Reimplemented from FX::FXImage.

Copyright © 1997-2004 Jeroen van der Zijp