al_draw_ustr(3)

al_draw_ustr3

Allegro 5 api

Usage

#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)

Overview

Like al_draw_text(3), except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated char array.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.