SpectralGradientModel
The stops of a spectral gradient as a GradientStopModel — rendering-revamp §RVG-2.
| Inherits | GradientStopModel |
In the namespace paint. Declared in src/libs/libpaint/paint/widgets/SpectralGradientModel.hpp.
Detailed description
The gradient editor's model. It holds a gradient::Gradient by value. The ramp it shows comes from gradient::Gradient::sample(), so the spectral blend of gradients §GR-4.1 and §GR-4.2 is unchanged: the view gets an sRGB color to draw, never an RGB lerp of the stops.