al_draw_textf

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

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

See also: al_draw_text, al_draw_ustr

Examples: ex_blit, ex_clip, ex_disable_screensaver, ex_display_options, ex_draw, ex_draw_bitmap, ex_filter, ex_font, ex_fs_window, ex_gldepth, ex_logo, ex_mouse_events, ex_native_filechooser, ex_premulalpha, ex_prim, ex_stream_seek, ex_ttf, ex_vsync, ex_warp_mouse, ex_windows


Most helpful discussions:

Other recent discussions: