Euphoria
|
eu::colorutil Namespace Reference
Functions | |
constexpr U8 | get_component (unsigned int i, unsigned int steps) |
constexpr U8 | get_red (unsigned int c) |
constexpr U8 | get_green (unsigned int c) |
constexpr U8 | get_blue (unsigned int c) |
constexpr float | to_float (U8 c) |
constexpr U8 | to_unsigned_char (float f) |
constexpr unsigned int | to_color_hex (unsigned int r, unsigned int g, unsigned int b) |
constexpr unsigned int | to_color_hex (NamedColor color) |
constexpr unsigned int | to_color_hex (BangWongPalette color) |
unsigned int | from_string_to_hex (const std::string &str) |
Function Documentation
◆ from_string_to_hex()
unsigned int eu::colorutil::from_string_to_hex | ( | const std::string & | str | ) |
◆ get_blue()
|
constexpr |
◆ get_component()
|
constexpr |
◆ get_green()
|
constexpr |
◆ get_red()
|
constexpr |
◆ to_color_hex() [1/3]
|
constexpr |
◆ to_color_hex() [2/3]
|
constexpr |
◆ to_color_hex() [3/3]
|
constexpr |