text_height.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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(3alleg), ex12bit(3alleg), exmidi(3alleg), expackf(3alleg), expat(3alleg), exsprite(3alleg), exsyscur(3alleg), exunicod(3alleg)