is_color_font(3alleg4)

πŸ’– is_color_font πŸ’–

okay bestie, welcome to the Allegro manual β€” this one's is_color_font from section 3alleg4, and it's literally the Allegro game programming library, so you know it's giving real ones only. ✨


🌸 NAME 🌸

is_color_font β€” returns TRUE if a font is a color font. no cap. this is the Allegro game programming library, and she's here to answer exactly one question for you. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

int is_color_font(FONT *f)

that's it. one include, one function, one font pointer. clean. iconic. πŸ’…


🌈 DESCRIPTION 🌈

so here's the vibe check: this function checks if the given font is a color font, as opposed to a monochrome font. that's the whole job. she looks at your font and tells you which of the two she is.

you hand her a FONT *f and she tells you what kind of girl she is. no drama, no side quests, no notes. 🫢


⭐ RETURN VALUE ⭐

  • returns TRUE if the font is a color font πŸ’–
  • returns FALSE if it is not πŸ₯²

two moods, that's it. she said pick one.


πŸ‘‘ SEE ALSO πŸ‘‘

if you're obsessed with this one (and you should be), go hang out with her sisters:


ngl the whole font-sibling cinematic universe is right there and it's lowkey fire. go read all three, iykyk. πŸ”₯

mwah, that's the page. brought to you by Allegro, version 4.4.3, and this little entry is filed under 3alleg4. periodt. πŸ’œπŸ§šπŸŒΈ