void al_draw_text(const ALLEGRO_FONT *font,
   ALLEGRO_COLOR color, float x, float y, int flags,
   char const *text)
Introduced in 5.0.0

Writes the 0-terminated string text onto bmp at position x, y, using the specified font.

The flags parameter can be 0 or one of the following flags:

See also: al_draw_ustr, al_draw_textf, al_draw_justified_text

Examples: ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_color, ex_display_options, ex_draw_bitmap, ex_logo, ex_membmp, ex_mouse_cursor, ex_timer, ex_transform, ex_vsync

Most helpful discussions:

Other recent discussions: