al_load_bitmap_font_flags(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_load_bitmap_font_flags ✨

okay bestie so we're in the Allegro 5 API section of the Allegro reference manual (that's the 3alleg5 vibe, iykyk) and today's main character is al_load_bitmap_font_flags πŸ’…


🌸 NAME 🌸

al_load_bitmap_font_flags β€” literally the Allegro 5 API function that loads you a bitmap font, but with ✨flags✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_font.h>

ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags)

πŸ’– DESCRIPTION πŸ’–

So it's giving exactly like al_load_bitmap_font(3alleg5)… except it also takes a flags parameter, which is a bitfield containing a combination of the following 🫢

  • ALLEGRO_NO_PREMULTIPLIED_ALPHA β€” ngl it means the exact same thing as it does for al_load_bitmap_flags(3alleg5). no cap, same energy, same meaning πŸ’«
bestie it's a bitfield, so you're combining these β€” it's not a one-flag-only situation, okay? πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, gorgeous πŸ’œ shoutout to the Allegro reference manual for the source, and to the 3alleg5 section for being its home β€” mwah, go load some fonts, you ate πŸ“πŸ§šπŸ‘‘

πŸ“¦ where this page comes from