#include <color.h>
Public Member Functions | |
| color (int red=0, int green=0, int blue=0) | |
| ~color () | |
| int | red () const |
| int | green () const |
| int | blue () const |
| void | red (int red) |
| void | green (int green) |
| void | blue (int blue) |
| bool | operator== (const color &to_compare) const |
| bool | operator!= (const color &to_compare) const |
| int | index () const |
| void | index (int new_index) |
| istring | text_form () const |
Definition at line 24 of file color.h.
| int color::red | ( | ) | const |
| int color::green | ( | ) | const |
| int color::blue | ( | ) | const |
| bool color::operator== | ( | const color & | to_compare | ) | const |
| int color::index | ( | ) | const |
Definition at line 41 of file color.cpp.
Referenced by visible_line::plot(), ring::plot(), oval::plot(), dot::plot(), and box::plot().
| istring color::text_form | ( | ) | const |
1.5.1