is_trans_font(3)

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

✨ is_trans_font(3) ✨

okay so bestie, we're in the Allegro manual today and this lil function is called is_trans_font β€” and yes, it does exactly the thing the name says πŸ’…


🌸 NAME 🌸

is_trans_font β€” returns TRUE if a font uses transparency. Allegro game programming library, and she's iconic for it fr fr.


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

int is_trans_font(FONT *f)

πŸ’– DESCRIPTION πŸ’–

This function checks if the given font is a color font that renders its glyphs using draw_trans_sprite. That's the whole vibe check β€” transparency, yes or no, no cap. πŸ¦‹


⭐ RETURN VALUE ⭐

Returns TRUE if the font uses transparency, and FALSE if it does not. Periodt. πŸ‘‘


🫢 SEE ALSO 🫢


and that's the whole page, bestie!! this was brought to you by Allegro, version 4.4.3 β€” go check your fonts, ily, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from