1extruec(3) Allegro manual extruec(3)
2
3
4
6 extruec - Truecolor pixel format conversions. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 Example extruec
14
16 This program shows how to specify colors in the various different true‐
17 color pixel formats. The example shows the same screen (a few text
18 lines and three coloured gradients) in all the color depth modes sup‐
19 ported by your video card. The more color depth you have, the less
20 banding you will see in the gradients.
21
22
24 END_OF_MAIN(3), PALETTE(3), RGB(3), SCREEN_H(3), SCREEN_W(3),
25 acquire_screen(3), allegro_init(3), clear_to_color(3), font(3), gener‐
26 ate_332_palette(3), install_keyboard(3), key(3), makecol(3), read‐
27 key(3), release_screen(3), screen(3), set_color_depth(3),
28 set_gfx_mode(3), set_palette(3), textout_centre_ex(3), textout_ex(3),
29 textprintf_ex(3), vline(3)
30
31
32
33Allegro version 4.2.3 extruec(3)