1al_get_text_width(3) al_get_text_width(3)
23
4
NAME
6al_get_text_width - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro_font.h>
1011
int al_get_text_width(const ALLEGRO_FONT *f, const char *str)
12
DESCRIPTION
14Calculates the length of a string in a particular font, in pixels.
15
SEE ALSO
17al_get_ustr_width(3), al_get_font_line_height(3), al_get_text_dimenā
18sions(3)
1920
21
22
Allegro reference manual al_get_text_width(3)