|
|
Donner
C++20 SVG rendering library
|
#include <vector>#include "donner/base/EcsRegistry.h"#include "donner/svg/core/Gradient.h"#include "donner/svg/graph/Reference.h"Classes | |
| struct | donner::svg::components::GradientComponent |
| Common parameters for gradient elements, "<linearGradient>" and "<radialGradient>". More... | |
| struct | donner::svg::components::ComputedGradientComponent |
| Created by PaintSystem during render tree instantiation. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::svg |
| Donner SVG library, which can load, manipulate and render SVG files. | |
| namespace | donner::svg::components |
| Contains the implementation of the Donner ECS,. | |
| struct donner::svg::components::GradientComponent |
Common parameters for gradient elements, "<linearGradient>" and "<radialGradient>".
When this component is present, either LinearGradientComponent or RadialGradientComponent must be present.
| Class Members | ||
|---|---|---|
| optional< GradientUnits > | gradientUnits | The parsed value of the "gradientUnits" attribute, which specifies how the coordinate system for linear/radial gradient positional attributes (such as x1, y1, cx, cy). Empty if no attribute was specified. |
| optional< Reference > | href | The parsed value of the "href" attribute, which specifies a reference to a gradient element to inherit from. |
| optional< GradientSpreadMethod > | spreadMethod | The parsed value of the "spreadMethod" attribute, which specifies how the gradient is repeated on its edges (such as spread, reflect, or repeat). Empty if no attribute was specified. |