debian man page for make_trans_font

Query: make_trans_font

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

make_trans_font(3alleg4)					  Allegro manual					  make_trans_font(3alleg4)

NAME
make_trans_font - Makes a font use transparency. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void make_trans_font(FONT *f);
DESCRIPTION
This function converts a font to use transparency for drawing. That is, each glyph in the font will be drawn with draw_trans_sprite, so you can use the same blenders as with draw_trans_sprite to draw the font. One common use of this is to load a bitmap font with an alpha chan- nel, and therefore get anti-aliased text output by using Allegro's alpha blender. Here's an example how to do that: FONT *f = load_font("alphafont.tga", NULL, NULL); make_trans_font(f); set_alpha_blender(); textprintf_centre_ex(screen, f, 320, 240, -1, -1, "Anti-aliased Font!");
SEE ALSO
is_trans_font(3alleg4), set_alpha_blender(3alleg4), load_font(3alleg4), draw_trans_sprite(3alleg4) Allegro version 4.4.2 make_trans_font(3alleg4)
Related Man Pages
exrotscl(3alleg4) - redhat
exrotscl(3alleg4) - linux
exrotscl(3alleg4) - v7
exrotscl(3alleg4) - osx
exrotscl(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
Weird 'find' results