geta32
Extract the alpha component form a 32-bit pixel format color. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Extract the alpha component form a 32-bit pixel format color. Allegro game programming library.
#include <allegro.h>
int geta32(int c);
Given a color in a 32-bit pixel format, this function extracts the alpha component (ranging 0-255).
getr8(3alleg4)