Color.
More...
#include <bayeux/geomtools/color.h>
|
enum | code_type {
COLOR_INVALID = -4,
COLOR_TRANSPARENT = -3,
COLOR_WHITE = -2,
COLOR_BLACK = -1,
COLOR_GREY = 0,
COLOR_RED = 1,
COLOR_GREEN = 2,
COLOR_BLUE = 3,
COLOR_MAGENTA = 4,
COLOR_CYAN = 5,
COLOR_YELLOW = 6,
COLOR_BROWN = 7,
COLOR_ORANGE = 8,
COLOR_DEFAULT = COLOR_GREY
} |
| Color code for gnuplot (x11 terminal) More...
|
|
typedef std::map< std::string, code_type > | color_map_type |
|
typedef boost::scoped_ptr< color_db > | scoped_color_db_type |
| Type of smart pointer on color register. More...
|
|
|
static const std::string & | invalid () |
|
static const std::string & | transparent () |
|
static const std::string & | white () |
|
static const std::string & | black () |
|
static const std::string & | grey () |
|
static const std::string & | red () |
|
static const std::string & | green () |
|
static const std::string & | blue () |
|
static const std::string & | magenta () |
|
static const std::string & | cyan () |
|
static const std::string & | brown () |
|
static const std::string & | yellow () |
|
static const std::string & | orange () |
|
static const std::string & | default_color () |
|
static const color_db & | get_color_db () |
| Get the global color register. More...
|
|
static code_type | get_color (const std::string &a_name) |
| Get color code from label. More...
|
|
◆ color_map_type
◆ scoped_color_db_type
Type of smart pointer on color register.
◆ code_type
Color code for gnuplot (x11 terminal)
Enumerator |
---|
COLOR_INVALID | |
COLOR_TRANSPARENT | |
COLOR_WHITE | |
COLOR_BLACK | |
COLOR_GREY | |
COLOR_RED | |
COLOR_GREEN | |
COLOR_BLUE | |
COLOR_MAGENTA | |
COLOR_CYAN | |
COLOR_YELLOW | |
COLOR_BROWN | |
COLOR_ORANGE | |
COLOR_DEFAULT | |
◆ color() [1/2]
geomtools::color::color |
( |
| ) |
|
◆ color() [2/2]
geomtools::color::color |
( |
code_type |
, |
|
|
const std::string & |
, |
|
|
int32_t |
, |
|
|
int32_t |
, |
|
|
int32_t |
, |
|
|
int32_t |
= 0 |
|
) |
| |
◆ black()
static const std::string& geomtools::color::black |
( |
| ) |
|
|
static |
◆ blue()
static const std::string& geomtools::color::blue |
( |
| ) |
|
|
static |
◆ brown()
static const std::string& geomtools::color::brown |
( |
| ) |
|
|
static |
◆ cyan()
static const std::string& geomtools::color::cyan |
( |
| ) |
|
|
static |
◆ default_color()
static const std::string& geomtools::color::default_color |
( |
| ) |
|
|
static |
◆ get_color()
static code_type geomtools::color::get_color |
( |
const std::string & |
a_name | ) |
|
|
static |
Get color code from label.
◆ get_color_db()
static const color_db& geomtools::color::get_color_db |
( |
| ) |
|
|
static |
Get the global color register.
◆ green()
static const std::string& geomtools::color::green |
( |
| ) |
|
|
static |
◆ grey()
static const std::string& geomtools::color::grey |
( |
| ) |
|
|
static |
◆ invalid()
static const std::string& geomtools::color::invalid |
( |
| ) |
|
|
static |
◆ magenta()
static const std::string& geomtools::color::magenta |
( |
| ) |
|
|
static |
◆ orange()
static const std::string& geomtools::color::orange |
( |
| ) |
|
|
static |
◆ red()
static const std::string& geomtools::color::red |
( |
| ) |
|
|
static |
◆ transparent()
static const std::string& geomtools::color::transparent |
( |
| ) |
|
|
static |
◆ white()
static const std::string& geomtools::color::white |
( |
| ) |
|
|
static |
◆ yellow()
static const std::string& geomtools::color::yellow |
( |
| ) |
|
|
static |
◆ alpha_amount
int32_t geomtools::color::alpha_amount |
◆ blue_amount
int32_t geomtools::color::blue_amount |
Blue channel (RGB encoding)
◆ code
int32_t geomtools::color::code |
◆ COLOR_TEST
const int geomtools::color::COLOR_TEST = 0 |
|
static |
◆ green_amount
int32_t geomtools::color::green_amount |
Green channel (RGB encoding)
◆ name
std::string geomtools::color::name |
◆ red_amount
int32_t geomtools::color::red_amount |
Red channel (RGB encoding)
The documentation for this class was generated from the following file: