#include <rgb.h>
Definition at line 61 of file rgb.h.
◆ Rgb() [1/3]
eu::Rgb::Rgb |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| |
◆ Rgb() [2/3]
eu::Rgb::Rgb |
( |
float |
gray | ) |
|
|
explicit |
◆ Rgb() [3/3]
◆ calc_luminance()
float eu::Rgb::calc_luminance |
( |
| ) |
const |
◆ from_hex()
Rgb eu::Rgb::from_hex |
( |
unsigned int |
hex | ) |
|
|
static |
◆ get_length()
float eu::Rgb::get_length |
( |
| ) |
const |
◆ get_length_squared()
float eu::Rgb::get_length_squared |
( |
| ) |
const |
◆ operator*=()
void eu::Rgb::operator*= |
( |
const Rgb & |
rhs | ) |
|
◆ operator+=()
void eu::Rgb::operator+= |
( |
const Rgb & |
rhs | ) |
|
◆ operator-=()
void eu::Rgb::operator-= |
( |
const Rgb & |
rhs | ) |
|
◆ operator/=()
void eu::Rgb::operator/= |
( |
float |
rhs | ) |
|
Definition at line 65 of file rgb.h.
Definition at line 64 of file rgb.h.
Definition at line 63 of file rgb.h.
The documentation for this struct was generated from the following files: