logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

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

Name

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

See Also

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

Allegro                                           version 4.4.3                             text_height(3alleg4)

Synopsis

#include<allegro.h>inttext_height(constFONT*f)

See Also