al_get_ustr_width

int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
Introduced in 5.0.0

Like al_get_text_width but expects an ALLEGRO_USTR.

See also: al_get_text_width, al_get_ustr_dimensions


Most helpful discussions: