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:
- Items stack in a RPG Inventory system (1)
- Drawing string from a variable to the screen? (1)
- Drawing text from variable in Allegro5 (1)
- drawing integer values... (1)
- [A5] Show & Hide window/display Cross-Platform ?
- Change adapter un runtime
- Complications when drawing FPS
- Mixing Allegro 5 with OPENGL
- TINS 2016
- Keyboard Interrupting on Mouse Positions?
Other recent discussions: