![]() |
DDNet documentation
|
Go to the source code of this file.
Classes | |
| class | color4_base< DerivedT > |
| class | ColorHSLA |
| class | ColorHSVA |
| class | ColorRGBA |
Functions | |
| constexpr float | RgbToHue (float r, float g, float b) |
| template<typename T, typename F> | |
| constexpr T | color_cast (const F &)=delete |
| template<> | |
| constexpr ColorHSLA | color_cast (const ColorRGBA &rgb) |
| template<> | |
| constexpr ColorRGBA | color_cast (const ColorHSLA &hsl) |
| template<> | |
| constexpr ColorHSLA | color_cast (const ColorHSVA &hsv) |
| template<> | |
| constexpr ColorHSVA | color_cast (const ColorHSLA &hsl) |
| template<> | |
| constexpr ColorRGBA | color_cast (const ColorHSVA &hsv) |
| template<> | |
| constexpr ColorHSVA | color_cast (const ColorRGBA &rgb) |
| template<typename T> | |
| constexpr T | color_scale (const T &col, float s) |
| template<typename T> | |
| constexpr T | color_invert (const T &col) |
| template<typename T> | |
| std::optional< T > | color_parse (const char *pStr) |
|
constexprdelete |
|
constexpr |
| std::optional< T > color_parse | ( | const char * | pStr | ) |
|
constexpr |
|
constexpr |