Color Class Reference
Color class for plotting.
More...
#include <color.hpp>
List of all members.
Detailed Description
Color class for plotting.
Constructor & Destructor Documentation
Color::Color |
( |
|
) |
[inline] |
Default color constructor (black).
Color::Color |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b | |
|
) |
| | [inline] |
Color::Color |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b, |
|
|
double |
a | |
|
) |
| | [inline] |
Member Function Documentation
Color Color::operator* |
( |
double |
x |
) |
const [inline] |
Color Color::operator+ |
( |
const Color & |
c |
) |
const [inline] |
Color Color::operator- |
( |
const Color & |
c |
) |
const [inline] |
double& Color::operator[] |
( |
int |
i |
) |
[inline] |
const double& Color::operator[] |
( |
int |
i |
) |
const [inline] |
Friends And Related Function Documentation
Color operator* |
( |
double |
x, |
|
|
const Color & |
c | |
|
) |
| | [friend] |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Color & |
c | |
|
) |
| | [friend] |
The documentation for this class was generated from the following file: