---
name: "al_draw_ustr"
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_ustr"
---

# al\_draw\_ustr(3)

Allegro 5 API

## NAME

al\_draw\_ustr - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  void al_draw_ustr(const ALLEGRO_FONT *font,
     ALLEGRO_COLOR color, float x, float y, int flags,
     const ALLEGRO_USTR *ustr)
  ```

## DESCRIPTION

Like [al\_draw\_text(3)](/al_draw_text/3.md), except the text is passed as an ALLEGRO\_USTR instead of a NUL-terminated char array.

## SEE ALSO

[al\_draw\_text(3)](/al_draw_text/3.md), [al\_draw\_justified\_ustr(3)](/al_draw_justified_ustr/3.md), [al\_draw\_multiline\_ustr(3)](/al_draw_multiline_ustr/3.md)
