ImageContext(3)

πŸ“¦
version 0.1.0 Β· 2 versions
, in fedora 43

πŸ’– 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() const
  • PixelFormat getPixelFormat() const
  • size_t getWidth() const
  • 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.
  • 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 image
  • height β€” 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