30#ifndef _SILLYImageContext_h_
31#define _SILLYImageContext_h_
64 size_t getWidth()
const;
65 size_t getHeight()
const;
76 void setWidth(
size_t width);
78 void setHeight(
size_t height);
95 size_t d_currentOffset;
107#ifdef SILLY_OPT_INLINE
108#include "SILLYImageContext.icpp"
Simple Image Loading LibrarY namespace.
PixelFormat
List all pixel format supported.
void setNextPixel(byte red, byte green, byte bleu, byte alpha)
Set the next pixel of the image.
void setDestination(byte *pixels, size_t length, PixelFormat format)
Set the destination of the loading.
bool flipVertically()
Flip pixel ordering.
ImageContext(size_t width, size_t height)
Constructor.
virtual ~ImageContext()
Destructor.