is_memory_bitmap(3)

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

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