putpixel(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ NAME ✨

putpixel(3) β€” writes a pixel into a bitmap. This is from the Allegro manual, aka the Allegro game programming library. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

void putpixel(BITMAP *bmp, int x, int y, int color);

🌸 DESCRIPTION 🌸

Okay bestie, so putpixel writes a pixel to the specified position in the bitmap. It does this using the current drawing mode and the bitmap's clipping rectangle. That's the whole thing, no cap. ✨

Example:

putpixel(screen, 10, 30, some_color);

πŸ¦‹ SEE ALSO πŸ¦‹


Allegro version 4.4.3 is the source/version vibe, and this was putpixel(3). Byeee, go write some pixels! πŸ’…πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from