font_has_alpha
Search all pixels of a font for alpha values. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Search all pixels of a font for alpha values. Allegro game programming library.
#include <allegro.h>
int font_has_alpha(FONT *f)
This function goes through all pixels of all glyphs in the font and looks for alpha values.
Returns TRUE if any alpha pixels are found, else FALSE.
is_trans_font(3alleg4)