Rechercher une page de manuel
SILLY_PNGImageContext
Langue: en
Version: 165121 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
SILLY::PNGImageContext - Image Context for PNG Image Loader.SYNOPSIS
#include <SILLYPNGImageContext.h>
Inherits SILLY::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.
Member Function Documentation
bool flipVertically () [inherited]
Flip pixel ordering.
Returns:
- true on success false otherwise
Definition at line 45 of file SILLYImageContext.cpp.
Author
Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre