aa_putpixel(3)

✨ aa_putpixel(3) β€” Library Functions Manual ✨

okay bestie, gather round, because today we're talking about aa_putpixel from the AA-lib crew, and honestly? it's giving one job, done well πŸ’…


🌸 NAME 🌸

aa_putpixel β€” put pixel to emulated framebuffer

like. that's it. that's the whole name. she drops one pixel into the emulated framebuffer and she does not elaborate. icon behaviour tbh πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <aalib.h>

void aa_putpixel
(
     aa_context *c,
     int x,
     int y,
     int color
);

πŸ’– PARAMETERS πŸ’–

  • aa_context *c β€” the AA-lib context you're operating on, bestie. this is the whole world she's drawing into, so hand her a real one 🫢
  • int x β€” X coordinate. yes, the horizontal one. you got this ✨
  • int y β€” Y coordinate. vertical. the other one. slay 🌈
  • int color β€” palette index or brightness value, and the range is 0..255. that's the vibe check: 0 to 255, no cap πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Put pixel to emulated framebuffer.

that's the entire bit, and honestly it's main character energy β€” she doesn't need a paragraph, she needs a pixel and a place to put it. you give her x, y, and a color, and she goes and puts that pixel in the emulated framebuffer. periodt. πŸ”₯

no like literally, that's the documented behaviour. don't go inventing extra lore for her, she's mysterious like that πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the extended universe, fr fr. go read these when you're done obsessing over this one:


and that's the page, bestie 🧚 this lil writeup came from c2man aalib.h and is dated 8 September 1999 β€” yes, she's been iconic since the nineties, we love a vintage queen πŸ’œβœ¨