al_draw_justified_ustr(3)

al_draw_justified_ustr3

Allegro 5 api

Usage

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

Overview

Like al_draw_justified_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.