Query: makeacol32
OS: osx
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
makeacol32(3alleg4) Allegro manual makeacol32(3alleg4)NAMEmakeacol32 - Converts an RGBA color into a 32-bit display pixel format. Allegro game programming library.SYNOPSIS#include <allegro.h> int makeacol32(int r, int g, int b, int a);DESCRIPTIONConverts an RGBA color into a 32-bit display pixel format, which includes an alpha (transparency) value. There are no versions of this rou- tine for other color depths, because only the 32-bit format has enough room to store a proper alpha channel. You should only use RGBA for- mat colors as the input to draw_trans_sprite() or draw_trans_rle_sprite() after calling set_alpha_blender(), rather than drawing them directly to the screen.SEE ALSOmakeacol(3alleg4), set_alpha_blender(3alleg4), set_write_alpha_blender(3alleg4) Allegro version 4.4.2 makeacol32(3alleg4)
Related Man Pages |
---|
makeacol(3alleg4) - centos |
makeacol(3alleg4) - suse |
makeacol(3alleg4) - mojave |
makeacol(3alleg4) - plan9 |
makeacol(3alleg4) - osx |
Similar Topics in the Unix Linux Community |
---|
AIX Links |
Mac OS X: Based on UNIX - Solid As a Rock |
At A Glance Coloured Real Time Bargraph Generator... |
To print diamond asterisk pattern based on inputs |