Rechercher une page de manuel
SILLY_JPGImageContext
Langue: en
Version: 159163 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
SILLY::JPGImageContext - Image Context for JPG image loader.SYNOPSIS
#include <SILLYJPGImageContext.h>
Inherits SILLY::ImageContext.
Public Member Functions
bool flipVertically ()
Flip pixel ordering.
size_t getHeight () const
PixelFormat getPixelFormat () const
size_t getWidth () const
void setDestination (byte *pixels, size_t length, PixelFormat format)
Set the destination of the loading.
void setImageSize ()
void setNextPixel (byte red, byte green, byte bleu, byte alpha)
Set the next pixel of the image.
Public Attributes
jpeg_decompress_struct cinfo
jpeg_error_mgr d_error_mgr
DataSource * d_source
jmp_buf setjmp_buffer
jpeg_source_mgr src_mgr
Protected Member Functions
void setHeight (size_t height)
void setWidth (size_t width)
Detailed Description
Image Context for JPG image loader.
Most of the code of this loader is taken from Corona and adapted to our image loading framework
Multiple loading is not handle yet.
Definition at line 56 of file SILLYJPGImageContext.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