is_sub_bitmap(3)
π is_sub_bitmap(3) π
okay bestie, welcome to the Allegro manual β yes, that Allegro, the game programming library that's been serving looks since forever. this little page is about is_sub_bitmap, and it's a short one, but it's lowkey important, so let's get into it. π
β¨ NAME β¨
is_sub_bitmap β tells if a bitmap is a sub bitmap. Allegro game programming library.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int is_sub_bitmap(BITMAP *bmp);
π¦ DESCRIPTION π¦
Returns TRUE if bmp is a sub-bitmap.
that's it. that's the whole vibe check. it looks at your bmp and is like "yeah, this one's a sub-bitmap" or "no bestie, this is a whole entire bitmap." iconic behaviour, honestly. π
ngl it's a tiny function, but knowing whether you're holding a sub-bitmap vs. a parent bitmap matters a LOT when you're doing stuff like destroying bitmaps or drawing to them, so it absolutely earns its place. π«Ά
π SEE ALSO π
and that's the page, bestie!! π this lil legend comes to you courtesy of Allegro, version 4.4.3 β like, the Allegro manual, the one and only. mwah. take care of your bitmaps, don't leak them, and i'll see you in the next manpage. periodt. πβ¨
π¦ 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