DOKK / manpages / debian 11 / allegro5-doc / al_draw_textf.3alleg5.en
al_draw_textf(3alleg5) al_draw_textf(3alleg5)

al_draw_textf - Allegro 5 API

#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, ...)

Formatted text output, using a printf() style format string. All parameters have the same meaning as with al_draw_text(3alleg5) otherwise.

al_draw_text(3alleg5), al_draw_ustr(3alleg5)

Allegro reference manual