clear_to_color(3)

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

✨ NAME ✨

clear_to_color β€” bestie, this one clears the bitmap to the specified color. It’s from the Allegro game programming library, and yes, it’s giving exactly what it says on the tin. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

void clear_to_color(BITMAP *bitmap, int color);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so clear_to_color literally clears the bitmap to the specified color. That’s the whole vibe. No cap. πŸ’–

Example, because we love a visual:

/* Clear the screen to red. */
clear_to_color(bmp, makecol(255, 0, 0));

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ that’s the page, bestie β€” Allegro manual energy, source/version <strong>Allegro version 4.4.3</strong>, and the footer was serving exactly that. No date listed, just iconic version behavior. periodt. 🫢✨

πŸ“¦ where this page comes from