is_memory_bitmap(3)
π NAME π
okay so bestie, <pink>is_memory_bitmap</pink> is the function that tells you if a bitmap is a memory bitmap. This is from the Allegro game programming library, and yes, it's the Allegro manual, periodt. π
β¨ SYNOPSIS β¨
#include <allegro.h>
int is_memory_bitmap(BITMAP *bmp);
π¦ DESCRIPTION π¦
Like, picture this: you hand it a BITMAP *bmp, and it returns TRUE if bmp is a memory bitmap, ie. it was created by calling create_bitmap() or loaded from a grabber datafile or image file. Memory bitmaps can be accessed directly via the line pointers in the bitmap structure, eg.
bmp->line[y][x] = color;
No cap, that's the whole vibe. π
πΈ SEE ALSO πΈ
Signing off from the Allegro manual, version 4.4.3, on the is_memory_bitmap(3) page. Stay iconic, bestie. πβ¨ππ¦πΈπ
π«Ά
π¦ 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