|
aest 0.1.0
Collection of C++ utility libraries
|
The linear space that operations in linear light, such as mix() and over(), use for a color type when no space is given. More...
Public Types | |
| using | type = LinSRGB |
| The linear space. | |
The linear space that operations in linear light, such as mix() and over(), use for a color type when no space is given.
It keeps the color's own gamut, so wide-gamut colors are not clipped to sRGB: the linear space of the gamut for an RGB space, and for HSL and HSV the one of their RGB space. XYZ is linear already. Any other type gets LinSRGB; specialize the trait to give it another.
| Color | The color type |
Definition at line 52 of file Space.cppm.
| using aest::colors::LinearSpaceOf< Color >::type = LinSRGB |
The linear space.
Definition at line 55 of file Space.cppm.