bx-lib : the Basic X11 Library tuned for C beginners  1.0
Functions
Predefined neutral RGB colors
Color (the main attribute of the pen)

Neutral RGB colors are the ones whose (r,g,b) triplets verify r = g = b, that is, black, white, and all levels of gray in between. More...

Functions

bx_color bx_white (void)
 another name for bx_rgb_to_color (0xFF,0xFF,0xFF);
bx_color bx_black (void)
 another name for bx_rgb_to_color (0x00,0x00,0x00);
bx_color bx_gray (void)
 another name for bx_rgb_to_color (0x80,0x80,0x80); which is bx_mean_color (bx_black (), bx_white ());
bx_color bx_pale_gray (void)
 another name for bx_rgb_to_color (0xC0,0xC0,0xC0); which is bx_mean_color (bx_gray (), bx_white ());
bx_color bx_dark_gray (void)
 another name for bx_rgb_to_color (0x40,0x40,0x40); which is bx_mean_color (bx_gray (), bx_black ());

Detailed Description

Neutral RGB colors are the ones whose (r,g,b) triplets verify r = g = b, that is, black, white, and all levels of gray in between.

Function Documentation

bx_color bx_white ( void  )

another name for bx_rgb_to_color (0xFF,0xFF,0xFF);

bx_color bx_black ( void  )

another name for bx_rgb_to_color (0x00,0x00,0x00);

bx_color bx_gray ( void  )

another name for bx_rgb_to_color (0x80,0x80,0x80); which is bx_mean_color (bx_black (), bx_white ());

bx_color bx_pale_gray ( void  )

another name for bx_rgb_to_color (0xC0,0xC0,0xC0); which is bx_mean_color (bx_gray (), bx_white ());

bx_color bx_dark_gray ( void  )

another name for bx_rgb_to_color (0x40,0x40,0x40); which is bx_mean_color (bx_gray (), bx_black ());