Color type , see DrawParams.
More...
#include <homog2d.hpp>
|
| Color (uint8_t rr, uint8_t gg, uint8_t bb) |
|
| Color ()=default |
|
|
uint8_t | b = 80 |
|
uint8_t | g = 80 |
|
uint8_t | r = 80 |
|
◆ Color() [1/2]
h2d::img::Color::Color |
( |
uint8_t |
rr, |
|
|
uint8_t |
gg, |
|
|
uint8_t |
bb |
|
) |
| |
|
inline |
437 :
r(rr),
g(gg),
b(bb) {}
uint8_t b
Definition: homog2d.hpp:436
uint8_t r
Definition: homog2d.hpp:434
uint8_t g
Definition: homog2d.hpp:435
◆ Color() [2/2]
h2d::img::Color::Color |
( |
| ) |
|
|
default |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
f, |
|
|
const Color & |
c |
|
) |
| |
|
friend |
442 f <<
"Color:" << (int)c.r <<
'-' << (
int)c.g <<
'-' << (int)c.b;
uint8_t h2d::img::Color::b = 80 |
uint8_t h2d::img::Color::g = 80 |
uint8_t h2d::img::Color::r = 80 |
The documentation for this struct was generated from the following file: