al_draw_textf(3alleg5)

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

πŸ’– al_draw_textf πŸ’–

okay so bestie, we're looking at al_draw_textf from the Allegro 5 API β€” she lives in the allegro5 family of manual pages and she is literally the glow-up version of plain text drawing. pull up a chair 🫢


✨ NAME ✨

al_draw_textf β€” Allegro 5 API


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_font.h>

void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color,
   float x, float y, int flags,
   const char *format, ...)

πŸŽ€ DESCRIPTION πŸŽ€

okay so this one is formatted text output β€” she takes a printf() style format string and does the whole substitution thing for you, no cap. πŸ’…

every other parameter? same meaning as with al_draw_text(3alleg5). literally identical vibes, she just also ate the formatting. periodt.


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie!! πŸ“ this one comes straight out of the Allegro reference manual, and honestly? iconic of it. go draw some formatted text, you've got this πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from