al_get_ustr_width(3)

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

πŸ’– 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