---
name: "al_draw_justified_ustr"
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_justified_ustr/3alleg5"
---

# al\_draw\_justified\_ustr(3alleg5)

Allegro 5 API

## NAME

al\_draw\_justified\_ustr - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

Like al\_draw\_justified\_text(3alleg5), except the text is passed as an ALLEGRO\_USTR instead of a NUL-terminated char array.

## SEE ALSO

al\_draw\_justified\_text(3alleg5), al\_draw\_justified\_textf(3alleg5).
