TGAImageContext(3)

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

πŸ’– TGAImageContext(3) πŸ’–

okay bestie, welcome to the TGAImageContext page from the Library Functions Manual β€” she's the image context for Targa images and she's literally so important, no cap. πŸŽ€


✨ NAME ✨

TGAImageContext β€” Image Context for Targa image. that's it, that's the girl. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <SILLYTGAImageContext.h>

Inherits ImageContext. yes she's got main character energy AND a whole family tree. πŸ’…

🌸 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.
  • TGAImageContext (size_t width, size_t height)

πŸŽ€ Protected Member Functions πŸŽ€

  • void setHeight (size_t height)
  • void setWidth (size_t width)

πŸ’œ Friends πŸ’œ

  • class TGAImageLoader

🌈 Detailed Description 🌈

Image Context for Targa image. fr fr that's the whole vibe.

Definition at line 42 of file SILLYTGAImageContext.h.


πŸ’… Member Function Documentation πŸ’…

🫢 bool flipVertically () [inherited]

Flip pixel ordering. she's just flipping the whole thing upside down like it's a glow-up reveal. ✨

Returns

true on success false otherwise. not me being a bool about it 😭

Definition at line 45 of file SILLYImageContext.cpp.


⭐ friend class TGAImageLoader [friend]

Definition at line 54 of file SILLYTGAImageContext.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code. a robot wrote this and honestly? she ate. πŸ”₯


bye bestie, go slay some Targa files πŸ’– this was the Simple Image Loading LibrarY, version 0.1.0, and it lives in the Library Functions Manual β€” see you on the next page, mwah πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from