Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

makeacol32 - Converts an RGBA color into a 32-bit display pixel format. Allegro game programming library.

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.

Name

       makeacol32 - Converts an RGBA color into a 32-bit display pixel format. Allegro game programming library.

See Also

makeacol(3alleg4), set_alpha_blender(3alleg4), set_write_alpha_blender(3alleg4)

Allegro                                           version 4.4.3                              makeacol32(3alleg4)

Synopsis

#include<allegro.h>intmakeacol32(intr,intg,intb,inta);

See Also