Your company here ā€” click to reach over 10,000 unique daily visitors

is_trans_font - Man Page

Returns TRUE if a font uses transparency. Allegro game programming library.


#include <allegro.h>

int is_trans_font(FONT *f)


This function checks if the given font is a color font using draw_trans_sprite to render glyphs.

Return Value

Returns TRUE if the font uses transparency, FALSE if it does not.

See Also

make_trans_font(3), is_color_font(3), is_mono_font(3)

Referenced By

font_has_alpha(3), is_color_font(3), is_compatible_font(3), is_mono_font(3), make_trans_font(3), merge_fonts(3).

version 4.4.3 Allegro manual