1al_get_ustr_dimensions(3) Library Functions Manual al_get_ustr_dimensions(3)
2
3
4
6 al_get_ustr_dimensions
7
9 #include <allegro5/allegro_font.h>
10
11 void al_get_ustr_dimensions(const ALLEGRO_FONT *f,
12 ALLEGRO_USTR const *ustr,
13 int *bbx, int *bby, int *bbw, int *bbh)
14
16 Sometimes, the al_get_ustr_width(3) and al_get_font_line_height(3)
17 functions are not enough for exact text placement, so this function
18 returns some additional information.
19
21 al_get_text_dimensions(3)
22
23
24
25Allegro reference manual al_get_ustr_dimensions(3)