---
name: "al_do_multiline_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_do_multiline_ustr/3alleg5"
---

# al\_do\_multiline\_ustr(3alleg5)

Allegro 5 API

## NAME

al\_do\_multiline\_ustr - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
     const ALLEGRO_USTR *ustr,
     bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
     void *extra)
  ```

## DESCRIPTION

Like al\_do\_multiline\_text(3alleg5), but using ALLEGRO\_USTR instead of a NUL-terminated char array for text.

## SINCE

5\.1.9

## SEE ALSO

al\_draw\_multiline\_ustr(3alleg5)
