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. | |
| 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. | |
Surface provider that can load PNG (.png) files.
| static CL_PixelBuffer CL_PNGProvider::load | ( | const CL_String & | filename, | |
| const CL_VirtualDirectory & | directory | |||
| ) | [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 CL_PixelBuffer CL_PNGProvider::load | ( | const CL_String & | fullname | ) | [static] |
| static CL_PixelBuffer CL_PNGProvider::load | ( | CL_IODevice & | dev | ) | [static] |
Load.
| dev | = IODevice |
| 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.
| static void CL_PNGProvider::save | ( | CL_PixelBuffer | buffer, | |
| const CL_String & | fullname | |||
| ) | [static] |
| static void CL_PNGProvider::save | ( | CL_PixelBuffer | buffer, | |
| CL_IODevice & | iodev | |||
| ) | [static] |
Save the given PixelBuffer to an output device.
1.7.1