ImageContext(3)
π ImageContext(3) π
okay bestie, welcome to the Library Functions Manual section, and lemme tell you about ImageContext β the lil backstage baddie that holds all the data an ImageLoader object needs while it's out here parsing an image. she's not the main character, she's the green room, and honestly? iconic. π
β¨ NAME β¨
ImageContext β Store the data needed by an ImageLoader object during the parsing of an image. periodt. π
π¦ SYNOPSIS π¦
#include <SILLYImageContext.h>
Inherited by JPGImageContext, PNGImageContext, and TGAImageContext. yes bestie, she has descendants, and they're all serving looks. π
πΈ Public Member Functions πΈ
bool flipVertically()β Flip pixel ordering.size_t getHeight() constPixelFormat getPixelFormat() constsize_t getWidth() constvoid 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.virtual ~ImageContext()β Destructor.
π Protected Member Functions π
ImageContext(size_t width, size_t height)β Constructor.void setHeight(size_t height)void setWidth(size_t width)
π Detailed Description π
Store the data needed by an ImageLoader object during the parsing of an image. that's literally her whole job and she does it flawlessly. no notes. β¨
Definition at line 43 of file SILLYImageContext.h.
π§ Constructor & Destructor Documentation π§
ImageContext (size_t width, size_t height) [protected]
Constructor. the birth of a legend, lowkey. πΌ
Parameters
widthβ the width of the imageheightβ the height of the image
π Member Function Documentation π
bool flipVertically()
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. so likeβ¦ the robot wrote it, but the robot ate, fr fr. π€π
okay bestie that's the whole page, every single detail intact, not one crumb left behind. you're welcome. π«Ά
β¨ Simple Image Loading LibrarY β Version 0.1.0 β ImageContext(3) β¨
mwah, that's a wrap on the Simple Image Loading LibrarY, version 0.1.0, ImageContext(3) section, and she ate every crumb. go forth and parse some images, bestie. π
ππ¦
π¦ where this page comes from
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms