font_has_alpha(3alleg4)
β¨ font_has_alpha β¨
okay bestie, welcome to the Allegro manual β yes, that Allegro, the game programming library, and yes we're doing font_has_alpha(3alleg4) today π
πΈ NAME πΈ
font_has_alpha β bestie, this one literally searches every single pixel of a font looking for alpha values. It's giving detective energy πβ¨ Part of the Allegro game programming library.
π SYNOPSIS π
#include <allegro.h>
int font_has_alpha(FONT *f)
π¦ DESCRIPTION π¦
so here's the vibe: this function goes through all the pixels of all the glyphs in the font f and looks for alpha values. Every. Single. One. No skipping, no shortcuts, she's thorough π
π RETURN VALUE π
Returns TRUE if any alpha pixels are found β and if there's not a single one? FALSE, bestie. That's it, that's the whole mood π
π SEE ALSO π
is_trans_font(3alleg4)β the other one you're gonna want in your tabs, fr fr π«Ά
k bye ily, go check those pixels πβ¨
this page came to you courtesy of the Allegro manual, version 4.4.3 β mwah, stan π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms