al_draw_justified_ustr(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

al_draw_justified_ustr(3)

okay bestie, welcome to the Library Functions Manual page for this Allegro icon β€” it’s giving β€œjustified text but make it ALLEGRO_USTR” and honestly? Obsessed. πŸ’…βœ¨

NAME

al_draw_justified_ustr β€” Allegro 5 API πŸŽ€

SYNOPSIS

Bestie, grab the font header first:

              #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

It’s like al_draw_justified_text(3), except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated char array. That’s the whole vibe check, bestie β€” same justified-text energy, ustr string package. πŸ’–πŸ¦‹

SEE ALSO


πŸ’– that’s the whole page, bestie β€” sourced from the Allegro reference manual, and there’s no version or date listed in the footer, so that’s the cute little sign-off. πŸ’–

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms