Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_load_ttf_font_stretch(3)			   al_load_ttf_font_stretch(3)

NAME
       al_load_ttf_font_stretch	- Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_ttf.h>

	      ALLEGRO_FONT *al_load_ttf_font_stretch(char const	*filename, int w, int h,
		  int flags)

DESCRIPTION
       Like al_load_ttf_font(3), except	it takes separate width	and height pa-
       rameters	instead	of a single size parameter.

       If the height is	a positive value, and the width	zero or	positive, then
       font  will  be stretched	according to those parameters.	The width must
       not be negative if the height is	positive.

       As with al_load_ttf_font(3), the	height may  be	a  negative  value  to
       specify the total height	in pixels.  Then the width must	also be	a neg-
       ative value, or zero.

       The behaviour is	undefined the height is	positive while width is	 nega-
       tive, or	if the height is negative while	the width is positive.

SINCE
       5.0.6, 5.1.0

SEE ALSO
       al_load_ttf_font(3), al_load_ttf_font_stretch_f(3)

Allegro	reference manual			   al_load_ttf_font_stretch(3)

NAME | SYNOPSIS | DESCRIPTION | SINCE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=al_load_ttf_font_stretch&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help