is_sub_bitmap(3)

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

πŸ’– 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