linux man page for set_alpha_blender

Query: set_alpha_blender

OS: linux

Section: 3alleg4

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

set_alpha_blender(3alleg4)					  Allegro manual					set_alpha_blender(3alleg4)

NAME
set_alpha_blender - Enables a special alpha-channel blending mode. Allegro game programming library. SYNOPSIS
#include <allegro.h> void set_alpha_blender(); DESCRIPTION
Enables the special alpha-channel blending mode, which is used for drawing 32-bit RGBA sprites. After calling this function, you can use draw_trans_sprite() or draw_trans_rle_sprite() to draw a 32-bit source image onto any hicolor or truecolor destination. The alpha values will be taken directly from the source graphic, so you can vary the solidity of each part of the image. You can't use any of the normal translucency functions while this mode is active, though, so you should reset to one of the normal blender modes (eg. set_trans_blender()) before drawing anything other than 32-bit RGBA sprites. SEE ALSO
set_trans_blender(3alleg4), draw_trans_sprite(3alleg4), draw_trans_rle_sprite(3alleg4), set_write_alpha_blender(3alleg4), exalpha(3alleg4), exrotscl(3alleg4), extrans(3alleg4) Allegro version 4.4.2 set_alpha_blender(3alleg4)
Related Man Pages
set_alpha_blender(3alleg4) - suse
set_alpha_blender(3alleg4) - plan9
set_alpha_blender(3alleg4) - linux
set_alpha_blender(3alleg4) - v7
set_alpha_blender(3alleg4) - netbsd
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Answers to Recently Asked Questions about UNIX.COM
YouTube: How to Use Code Tags and Format Posts @UNIX.com