Paint carried by one cross-entity batch instance: a solid colour, or a resolved gradient whose parameters and stop ramp the encoder copies into the slot's persistent paint block. More...
#include "donner/svg/renderer/geode/GeoEncoder.h"
Public Member Functions | |
| bool | isGradient () const |
| True when this instance paints with a gradient rather than a colour. | |
Public Attributes | |
| css::RGBA | color |
| Unpremultiplied solid fill color when no gradient is selected. | |
| const LinearGradientParams * | linearGradient |
| Borrowed linear-gradient parameters for the duration of the call. | |
| const RadialGradientParams * | radialGradient |
| Borrowed radial-gradient parameters for the duration of the call. | |
Paint carried by one cross-entity batch instance: a solid colour, or a resolved gradient whose parameters and stop ramp the encoder copies into the slot's persistent paint block.
The gradient pointers are borrowed for the duration of the call only.
| css::RGBA donner::geode::GeoEncoder::ScenePaint::color |
Unpremultiplied solid fill color when no gradient is selected.
| const LinearGradientParams* donner::geode::GeoEncoder::ScenePaint::linearGradient |
Borrowed linear-gradient parameters for the duration of the call.
| const RadialGradientParams* donner::geode::GeoEncoder::ScenePaint::radialGradient |
Borrowed radial-gradient parameters for the duration of the call.