putpixel(3)
β¨ 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 π¦
getpixel(3)_putpixel(3)drawing_mode(3)makecol(3)ex12bit(3)exalpha(3)exflame(3)exjoy(3)exstars(3)exswitch(3)
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
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms