text_height man page

text_height — Returns the height of a font in pixels. Allegro game programming library.

Synopsis

#include <allegro.h>

int text_height(const FONT *f)

Description

Returns the height (in pixels) of the specified font. Example:

int height = text_height(font);
...
bmp = create_bitmap(width, height);

See Also

text_length(3), ex12bit(3), exmidi(3), expackf(3), expat(3), exsprite(3), exsyscur(3), exunicod(3)

Referenced By

ex12bit(3), exmidi(3), expackf(3), expat(3), exsprite(3), exsyscur(3), exunicod(3), text_length(3), textout_ex(3), textprintf_ex(3).

version 4.4.2 Allegro Allegro manual