al_get_ustr_width(3)
π NAME π
okay so bestie, this is the page for al_get_ustr_width(3) from the Library Functions Manual, and it's an Allegro 5 API moment. The function is literally named al_get_ustr_width β iconic, no notes. β¨
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_font.h>
int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
π¦ DESCRIPTION π¦
So al_get_ustr_width is like al_get_text_width(3), but it expects an ALLEGRO_USTR. That's the whole tea. π« It's giving βsame width-finding energy, different string type,β and the signature is exactly the one above, with const ALLEGRO_FONT *f and ALLEGRO_USTR const *ustr. π
π SEE ALSO π
byeee π β source/version: Allegro reference manual; date: not listed on this page, so I'm not inventing one, bestie. π
π¦ 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