|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Fully resolved gradient payload that can cross non-SVG package boundaries. More...
#include "donner/svg/renderer/ResolvedGradient.h"
Public Types | |
| enum class | Kind : uint8_t { kLinear = 0 , kRadial = 1 } |
Public Attributes | |
| Kind | kind = Kind::kLinear |
| GradientUnits | units = GradientUnits::Default |
| GradientSpreadMethod | spreadMethod = GradientSpreadMethod::Default |
| std::vector< GradientStop > | stops |
| Lengthd | x1 |
| Lengthd | y1 |
| Lengthd | x2 |
| Lengthd | y2 |
| Lengthd | cx |
| Lengthd | cy |
| Lengthd | r |
| std::optional< Lengthd > | fx |
| std::optional< Lengthd > | fy |
| Lengthd | fr |
| std::optional< css::Color > | fallback |
Fully resolved gradient payload that can cross non-SVG package boundaries.