makeacol32 (3) - Linux Manuals
makeacol32: Converts an RGBA color into a 32-bit display pixel format. Allegro game programming library.
Command to display makeacol32
manual in Linux: $ man 3 makeacol32
NAME
makeacol32 - 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);
DESCRIPTION
Converts an RGBA color into a 32-bit display pixel format, which includes
an alpha (transparency) value. There are no versions of this routine for
other color depths, because only the 32-bit format has enough room to
store a proper alpha channel. You should only use RGBA format 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.
Pages related to makeacol32
- makeacol (3) - Converts RGBA colors into display dependent pixel formats. Allegro game programming library.
- makeacol_depth (3) - Converts RGBA colors into display dependent pixel formats. Allegro game programming library.
- makeSeries (3) - interval price
- make_absolute_filename (3) - Makes an absolute filename from a path and relative filename. Allegro game programming library.
- make_relative_filename (3) - Tries to make a relative filename from absolute path and filename. Allegro game programming library.
- make_step_iterator (3) - Iterator advancing in constant steps.
- make_trans_font (3) - Makes a font use transparency. Allegro game programming library.
- makecol (3) - Converts an RGB value into the current pixel format. Allegro game programming library.