Simple Image Loading LibrarY  0.1.0
Public Member Functions | Protected Member Functions | Friends | List of all members
PNGImageContext Class Reference

Image Context for PNG Image Loader. More...

#include <SILLYPNGImageContext.h>

Inheritance diagram for PNGImageContext:
Inheritance graph
[legend]
Collaboration diagram for PNGImageContext:
Collaboration graph
[legend]

Public Member Functions

bool flipVertically ()
 Flip pixel ordering. More...
 
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.

Member Function Documentation

◆ flipVertically()

bool flipVertically ( )
inherited

Flip pixel ordering.

Returns
true on success false otherwise

Definition at line 45 of file SILLYImageContext.cpp.


The documentation for this class was generated from the following files: