|
Simple Image Loading LibrarY 0.1.0
|
Image Context for PNG Image Loader. More...
#include <SILLYPNGImageContext.h>


Public Member Functions | |
| bool | flipVertically () |
| Flip pixel ordering. | |
| size_t | getHeight () const |
| PixelFormat | getPixelFormat () const |
| size_t | getWidth () const |
| PNGImageContext (DataSource *data) | |
| int | read (png_bytep data, png_size_t length) |
| void | setDestination (byte *pixels, size_t length, PixelFormat format) |
| Set the destination of the loading. | |
| void | setNextPixel (byte red, byte green, byte bleu, byte alpha) |
| Set the next pixel of the image. | |
Protected Member Functions | |
| void | setHeight (size_t height) |
| void | setWidth (size_t width) |
Friends | |
| class | PNGImageLoader |
Image Context for PNG Image Loader.
Definition at line 45 of file SILLYPNGImageContext.h.
| PNGImageContext | ( | DataSource * | data | ) |
Definition at line 59 of file SILLYPNGImageContext.cpp.
| ~PNGImageContext | ( | ) |
Definition at line 65 of file SILLYPNGImageContext.cpp.
|
inherited |
Flip pixel ordering.
Definition at line 45 of file SILLYImageContext.cpp.
| int read | ( | png_bytep | data, |
| png_size_t | length | ||
| ) |
Definition at line 46 of file SILLYPNGImageContext.cpp.
|
friend |
Definition at line 70 of file SILLYPNGImageContext.h.