makeacol_depth (3) - Linux Manuals
makeacol_depth: Converts RGBA colors into display dependent pixel formats. Allegro game programming library.
Command to display makeacol_depth
manual in Linux: $ man 3 makeacol_depth
NAME
makeacol, makeacol_depth - Converts RGBA colors into display dependent pixel formats. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int makeacol(int r, int g, int b, int a);
int makeacol_depth(int color_depth, int r, int g, int b, int a);
DESCRIPTION
Convert RGBA colors into display dependent pixel formats. In anything
less than a 32-bit mode, these are the same as calling makecol() or
makecol_depth(), but by using these routines it is possible to create
32-bit color values that contain a true 8 bit alpha channel along with
the red, green, and blue components. 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.
RETURN VALUE
Returns the requested RGBA quadruplet.
Pages related to makeacol_depth
- makeacol (3) - Converts RGBA colors into display dependent pixel formats. Allegro game programming library.
- makeacol32 (3) - Converts an RGBA color into a 32-bit display pixel format. 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.