is_trans_font(3alleg4)

✨ is_trans_font ✨

okay bestie, welcome to is_trans_font, straight out of the Allegro manual β€” yes, that Allegro, the Allegro game programming library, and this one lives in section 3alleg4 of your man pages πŸŽ€


πŸ’– NAME πŸ’–

is_trans_font β€” the lil detective that tells you if a font is doing the transparency thing. returns TRUE if a font uses transparency, fr fr πŸ¦‹


🌸 SYNOPSIS 🌸

#include <allegro.h>

int is_trans_font(FONT *f)

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the vibe: this function checks if the font you handed it is a color font that's out here using draw_trans_sprite to render its glyphs. that's it, that's the whole job. she's nosy but in a helpful way πŸ’…


🫢 RETURN VALUE 🫢

  • returns TRUE if the font uses transparency ✨
  • returns FALSE if it does not πŸ’€

like. binary. iconic. no in-between, no "it depends", just a clean little yes or no. periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

your little font-forensics friend group, go say hi:


mwah πŸ’‹ that's the whole page. this beauty is from Allegro, version 4.4.3, and yeah the manual name is is_trans_font(3alleg4) in case you forgot where you were. go check ur fonts, bestie, and stay transparent (only in the rendering sense) 🌈⭐