SILLY_PNGImageContext - Man Page
Image Context for PNG Image Loader.
Synopsis
#include <SILLYPNGImageContext.h>
Inherits ImageContext.
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
Detailed Description
Image Context for PNG Image Loader.
Definition at line 45 of file SILLYPNGImageContext.h.
Constructor & Destructor Documentation
PNGImageContext (DataSource * data)
Definition at line 59 of file SILLYPNGImageContext.cpp.
~PNGImageContext ()
Definition at line 65 of file SILLYPNGImageContext.cpp.
Member Function Documentation
bool flipVertically () [inherited]
Flip pixel ordering.
- Returns
true on success false otherwise
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.
Friends And Related Symbol Documentation
friend class PNGImageLoader [friend]
Definition at line 70 of file SILLYPNGImageContext.h.
Author
Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code.