php man page for makeacol

Query: makeacol

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

makeacol(3alleg4)						  Allegro manual						 makeacol(3alleg4)

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.
SEE ALSO
makecol(3alleg4), makecol_depth(3alleg4), set_alpha_blender(3alleg4), set_write_alpha_blender(3alleg4), exrotscl(3alleg4) Allegro version 4.4.2 makeacol(3alleg4)
Related Man Pages
makeacol_depth(3alleg4) - debian
makeacol(3alleg4) - netbsd
makeacol(3alleg4) - redhat
makeacol(3alleg4) - v7
makeacol(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch