getg (3) Linux Manual Page
NAME getr, getg, getb, geta – Extract a color component from the current pixel format. Allegro game programming library. SYNOPSIS #include <allegro.h> int getr(int c); int getg(int c); int getb(int c); int geta(int c); DESCRIPTION Given a color in the format being used by the current video mode, these functions extract one of the red,…
