Man Linux: Main Page and Category List

NAME

       exalpha  -  Creating  and  using  32  bit  RGBA  sprites.  Allegro game
       programming library.

SYNOPSIS

       #include <allegro.h>

       Example exalpha

DESCRIPTION

       This program demonstrates how to  use  the  32  bit  RGBA  translucency
       functions  to  store an alpha channel along with a bitmap graphic.  Two
       images are loaded from disk. One will be used for  the  background  and
       the  other  as a sprite. The example generates an alpha channel for the
       sprite image, composing the 32 bit  RGBA  bitmap  during  runtime,  and
       draws it at the position of the mouse cursor.

SEE ALSO

       BITMAP(3alleg),          END_OF_MAIN(3alleg),         SCREEN_H(3alleg),
       SCREEN_W(3alleg),     allegro_error(3alleg),      allegro_init(3alleg),
       allegro_message(3alleg),       blit(3alleg),      clear_keybuf(3alleg),
       create_bitmap(3alleg),                          destroy_bitmap(3alleg),
       draw_trans_sprite(3alleg),      drawing_mode(3alleg),     font(3alleg),
       getb(3alleg),     getg(3alleg),     getpixel(3alleg),     getr(3alleg),
       install_keyboard(3alleg), install_mouse(3alleg), install_timer(3alleg),
       keypressed(3alleg),        load_bitmap(3alleg),        makecol(3alleg),
       mouse_x(3alleg),  mouse_y(3alleg),  putpixel(3alleg), rectfill(3alleg),
       replace_filename(3alleg),  screen(3alleg),   set_alpha_blender(3alleg),
       set_color_conversion(3alleg),                  set_color_depth(3alleg),
       set_gfx_mode(3alleg),                     set_multiply_blender(3alleg),
       set_write_alpha_blender(3alleg),                    solid_mode(3alleg),
       stretch_blit(3alleg), textprintf_ex(3alleg)