al_draw_textf(3) al_draw_textf(3)

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(3) otherwise.

al_draw_text(3), al_draw_ustr(3)

Allegro reference manual