extruec(3alleg4) | Allegro manual | extruec(3alleg4) |
extruec - Truecolor pixel format conversions. Allegro game programming library.
#include <allegro.h>
Example extruec
This program shows how to specify colors in the various different truecolor pixel formats. The example shows the same screen (a few text lines and three coloured gradients) in all the color depth modes supported by your video card. The more color depth you have, the less banding you will see in the gradients.
END_OF_MAIN(3alleg4), PALETTE(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_init(3alleg4), clear_to_color(3alleg4), font(3alleg4), generate_332_palette(3alleg4), install_keyboard(3alleg4), key(3alleg4), makecol(3alleg4), readkey(3alleg4), release_screen(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textout_centre_ex(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4), vline(3alleg4)
version 4.4.2 | Allegro |