1al_load_ttf_font_stretch(3)                        al_load_ttf_font_stretch(3)
2
3
4

NAME

6       al_load_ttf_font_stretch - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_ttf.h>
10
11              ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h,
12                 int flags)
13

DESCRIPTION

15       Like al_load_ttf_font(3), except it takes separate width and height pa‐
16       rameters instead of a single size parameter.
17
18       If the height is a positive value, and the width zero or positive, then
19       font  will  be stretched according to those parameters.  The width must
20       not be negative if the height is positive.
21
22       As with al_load_ttf_font(3), the height may  be  a  negative  value  to
23       specify the total height in pixels.  Then the width must also be a neg‐
24       ative value, or zero.
25
26       Returns NULL if the height is positive while width is negative,  or  if
27       the height is negative while the width is positive.
28

SINCE

30       5.0.6, 5.1.0
31

SEE ALSO

33       al_load_ttf_font(3), al_load_ttf_font_stretch_f(3)
34
35
36
37Allegro reference manual                           al_load_ttf_font_stretch(3)
Impressum