1text_height(3)                  Allegro manual                  text_height(3)
2
3
4

NAME

6       text_height - Returns the height of a font in pixels. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int text_height(const FONT *f)
14

DESCRIPTION

16       Returns the height (in pixels) of the specified font. Example:
17
18          int height = text_height(font);
19          ...
20          bmp = create_bitmap(width, height);
21
22

SEE ALSO

24       text_length(3),   ex12bit(3),    exmidi(3),    expackf(3),    expat(3),
25       exsprite(3), exsyscur(3), exunicod(3)
26
27
28
29Allegro                          version 4.4.2                  text_height(3)
Impressum