---
name: "al_draw_textf"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_draw_textf/3alleg5"
---

# al\_draw\_textf(3alleg5)

Allegro 5 API

## NAME

al\_draw\_textf - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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

## SEE ALSO

al\_draw\_text(3alleg5), al\_draw\_ustr(3alleg5)
