al_get_ustr_dimensions - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_font.h>

void al_get_ustr_dimensions(const ALLEGRO_FONT *f,
   ALLEGRO_USTR const *ustr,
   int *bbx, int *bby, int *bbw, int *bbh)

Description

Like al_get_text_dimensions(3), except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated char array.

See Also

al_get_text_dimensions(3)

Referenced By

al_get_text_dimensions(3), al_get_ustr_width(3).

Allegro reference manual