---
name: "al_draw_textf"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_draw_textf"
---

# al\_draw\_textf(3)

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(3)](/al_draw_text/3.md) otherwise.

## SEE ALSO

[al\_draw\_text(3)](/al_draw_text/3.md), [al\_draw\_ustr(3)](/al_draw_ustr/3.md)
