|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include <array>#include <cmath>#include <algorithm>Go to the source code of this file.
Namespaces | |
| namespace | tachyon |
| namespace | tachyon::ColorConvert |
| namespace | tachyon::ColorConvert::detail |
Functions | |
| float | tachyon::ColorConvert::SRGBToLinear (float c) |
| float | tachyon::ColorConvert::LinearToSRGB (float c) |
| void | tachyon::ColorConvert::RGBtoHSV (float r, float g, float b, float &h, float &s, float &v) |
| std::array< float, 3 > | tachyon::ColorConvert::HSVtoRGB (float h, float s, float v) |
| void | tachyon::ColorConvert::RGBtoHSL (float r, float g, float b, float &h, float &s, float &l) |
| std::array< float, 3 > | tachyon::ColorConvert::HSLtoRGB (float h, float s, float l) |
| std::array< float, 3 > | tachyon::ColorConvert::detail::RGBtoXYZ (float r, float g, float b) |
| std::array< float, 3 > | tachyon::ColorConvert::detail::XYZtoRGB (float X, float Y, float Z) |
| void | tachyon::ColorConvert::RGBtoLab (float r, float g, float b, float &L, float &a, float &bOut) |
| std::array< float, 3 > | tachyon::ColorConvert::LabToRGB (float L, float a, float b) |
| void | tachyon::ColorConvert::RGBtoOklab (float r, float g, float b, float &L, float &a, float &bOut) |
| std::array< float, 3 > | tachyon::ColorConvert::OklabToRGB (float L, float a, float b) |
Variables | |
| constexpr float | tachyon::ColorConvert::detail::kD65WhiteX = 0.95047f |
| constexpr float | tachyon::ColorConvert::detail::kD65WhiteY = 1.00000f |
| constexpr float | tachyon::ColorConvert::detail::kD65WhiteZ = 1.08883f |
| constexpr float | tachyon::ColorConvert::detail::kLabDelta = 6.0f / 29.0f |