HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
color_space.hpp File Reference

Functions to create color conversion matrices. More...

#include "../geometry/geometry.hpp"
#include "../macros.hpp"
#include <compare>

Go to the source code of this file.

Namespaces

namespace  hi
 The HikoGUI namespace.
namespace  hi::v1
 The HikoGUI API version 1.

Functions

 hi_export_module (hikogui.color.color_space)
constexpr matrix3 hi::v1::color_primaries_to_RGBtoXYZ (float wx, float wy, float rx, float ry, float gx, float gy, float bx, float by) noexcept
 Create a color space conversion matrix.

Detailed Description

Functions to create color conversion matrices.