GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
al_load_ttf_font_stretch(3) al_load_ttf_font_stretch(3)

al_load_ttf_font_stretch - Allegro 5 API


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

    

Like al_load_ttf_font(3), except it takes separate width and height parameters 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 negative value, or zero.

Returns NULL if the height is positive while width is negative, or if the height is negative while the width is positive.

5.0.6, 5.1.0

al_load_ttf_font(3), al_load_ttf_font_stretch_f(3)
Allegro reference manual

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.