al_get_font_line_height man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

al_get_font_line_height(3)			    al_get_font_line_height(3)

NAME
       al_get_font_line_height - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_font.h>

	      int al_get_font_line_height(const ALLEGRO_FONT *f)

DESCRIPTION
       Returns	the usual height of a line of text in the specified font.  For
       bitmap fonts this is simply the height of all glyph bitmaps.  For true‐
       type fonts it is whatever the font file specifies.  In particular, some
       special glyphs may be higher than the height returned here.

       If the X is the position you specify  to	 draw  text,  the  meaning  of
       ascent and descent and the line height is like in the figure below.

	      X------------------------
		  /\	     |	      |
		 /  \	     |	      |
		/____\	     ascent   |
	       /      \	     |	      |
	      /	       \     |	      height
	      ----------------	      |
			     |	      |
			     descent  |
			     |	      |
	      -------------------------

SEE ALSO
       al_get_text_width(3), al_get_text_dimensions(3)

Allegro reference manual			    al_get_font_line_height(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net