#include "geom/rgba.H"
#include "std/config.H"
#include "color.H"
Include dependency graph for colors.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Color |
Functions | |
COLOR | Color::color_ub (unsigned char r, unsigned char g, unsigned char b) |
create a COLOR from unsigned bytes r, g, b | |
COLOR | Color::rgba_to_color (uint rgba) |
create a COLOR from an rgba unsigned int | |
double | Color::rgba_to_alpha (uint rgba) |
return alpha (in [0,1]) from an rgba unsigned int | |
uint | Color::color_to_rgba (CCOLOR &col, double alpha=1) |
create an rgba unsigned int from a COLOR and alpha | |
CCOLOR | Color::black (0.0, 0.0, 0.0) |
CCOLOR | Color::white (1.0, 1.0, 1.0) |
CCOLOR | Color::grey1 (0.1, 0.1, 0.1) |
CCOLOR | Color::grey2 (0.2, 0.2, 0.2) |
CCOLOR | Color::grey3 (0.3, 0.3, 0.3) |
CCOLOR | Color::grey4 (0.4, 0.4, 0.4) |
CCOLOR | Color::grey5 (0.5, 0.5, 0.5) |
CCOLOR | Color::grey6 (0.6, 0.6, 0.6) |
CCOLOR | Color::grey7 (0.7, 0.7, 0.7) |
CCOLOR | Color::grey8 (0.8, 0.8, 0.8) |
CCOLOR | Color::grey9 (0.9, 0.9, 0.9) |
COLOR | Color::grey (double g) |
CCOLOR | Color::red (1.0, 0.0, 0.0) |
CCOLOR | Color::green (0.0, 1.0, 0.0) |
CCOLOR | Color::blue (0.0, 0.0, 1.0) |
CCOLOR | Color::yellow (1.0, 1.0, 0.0) |
CCOLOR | Color::magenta (1.0, 0.0, 1.0) |
CCOLOR | Color::cyan (0.0, 1.0, 1.0) |
CCOLOR | Color::pink (1.0, 0.5, 0.5) |
CCOLOR | Color::orange (1.0, 0.5, 0.0) |
CCOLOR | Color::brown (0.5,.37,.25) |
CCOLOR | Color::tan (0.9, 0.8, 0.7) |
CCOLOR | Color::firebrick (0.698, 0.133, 0.133) |
str_ptr | Color::color_to_str (CCOLOR &col) |
CCOLOR | Color::get_var_color (Cstr_ptr &var_name, CCOLOR &default_val) |
Variables | |
CCOLOR | Color::blue_pencil_l = color_ub(166,201,243) |
CCOLOR | Color::blue_pencil_m = color_ub(104,158,222) |
CCOLOR | Color::blue_pencil_d = color_ub( 79,135,211) |
CCOLOR | Color::red_pencil = color_ub(215, 50, 20) |
CCOLOR | Color::orange_pencil_l = color_ub(255, 204, 51) |
CCOLOR | Color::orange_pencil_m = color_ub(255, 153, 11) |
CCOLOR | Color::orange_pencil_d = color_ub(243, 102, 0) |
CCOLOR | Color::blue1 = color_ub( 63, 64, 69) |
CCOLOR | Color::blue2 = color_ub( 6, 90, 126) |
CCOLOR | Color::blue3 = color_ub(100, 117, 135) |
CCOLOR | Color::blue4 = color_ub(133, 156, 162) |
CCOLOR | Color::green2 = color_ub(223, 217, 185) |
CCOLOR | Color::green1 = color_ub(193, 186, 118) |
CCOLOR | Color::orange1 = color_ub(234, 137, 33) |
CCOLOR | Color::orange2 = color_ub(254, 171, 69) |
CCOLOR | Color::orange3 = color_ub(255, 216, 178) |
CCOLOR | Color::red1 = color_ub(115, 0, 24) |
CCOLOR | Color::red2 = color_ub(149, 47, 7) |
CCOLOR | Color::red3 = color_ub(204, 136, 99) |
CCOLOR | Color::brown5 = color_ub(180, 150, 98) |
CCOLOR | Color::brown4 = color_ub(207, 164, 101) |
CCOLOR | Color::brown3 = color_ub(170, 120, 63) |
CCOLOR | Color::brown2 = color_ub(137, 91, 46) |
CCOLOR | Color::brown1 = color_ub( 93, 50, 23) |
CCOLOR | Color::gray1 = color_ub(140, 141, 146) |
CCOLOR | Color::gray2 = color_ub(183, 172, 166) |
CCOLOR | Color::gray3 = color_ub(236, 225, 219) |
CCOLOR | Color::s_green = color_ub(177 , 217, 60) |