CL_PNGProvider Class Reference
[clanDisplay Image Providers]

Surface provider that can load PNG (.png) files. More...

#include <png_provider.h>

List of all members.

Static Public Member Functions

Construction
static CL_PixelBuffer load (const CL_String &filename, const CL_VirtualDirectory &directory)
 Called to load an image with this provider type.
static CL_PixelBuffer load (const CL_String &fullname)
static CL_PixelBuffer load (CL_IODevice &dev)
 Load.
static void save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory)
 Called to save a given PixelBuffer to a file.
static void save (CL_PixelBuffer buffer, const CL_String &fullname)
static void save (CL_PixelBuffer buffer, CL_IODevice &iodev)
 Save the given PixelBuffer to an output device.


Detailed Description

Surface provider that can load PNG (.png) files.


Member Function Documentation

static CL_PixelBuffer CL_PNGProvider::load CL_IODevice dev  )  [static]
 

Load.

Parameters:
dev = IODevice
Returns:
Pixel Buffer

static CL_PixelBuffer CL_PNGProvider::load const CL_String fullname  )  [static]
 

static CL_PixelBuffer CL_PNGProvider::load const CL_String filename,
const CL_VirtualDirectory directory
[static]
 

Called to load an image with this provider type.

Parameters:
name Name of the file to load.
directory Directory that file name is relative to.

static void CL_PNGProvider::save CL_PixelBuffer  buffer,
CL_IODevice iodev
[static]
 

Save the given PixelBuffer to an output device.

static void CL_PNGProvider::save CL_PixelBuffer  buffer,
const CL_String fullname
[static]
 

static void CL_PNGProvider::save CL_PixelBuffer  buffer,
const CL_String filename,
CL_VirtualDirectory directory
[static]
 

Called to save a given PixelBuffer to a file.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6