ClanLib
2.3.7
|
Surface provider that can load PNG (.png) files. More...
#include <png_provider.h>
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. More... | |
static CL_PixelBuffer | load (const CL_String &fullname) |
static CL_PixelBuffer | load (CL_IODevice &dev) |
Load. More... | |
static void | save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory) |
Called to save a given PixelBuffer to a file. More... | |
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. More... | |
Surface provider that can load PNG (.png) files.
|
static |
Called to load an image with this provider type.
name | Name of the file to load. |
directory | Directory that file name is relative to. |
|
static |
|
static |
Load.
dev | = IODevice |
|
static |
Called to save a given PixelBuffer to a file.
|
static |
|
static |
Save the given PixelBuffer to an output device.