|
|
Donner
C++20 SVG rendering library
|
#include "donner/base/EcsRegistry.h"#include "donner/svg/components/layout/SizedElementComponent.h"#include "donner/svg/core/Pattern.h"#include "donner/svg/core/PreserveAspectRatio.h"#include "donner/svg/graph/Reference.h"Classes | |
| struct | donner::svg::components::PatternComponent |
| Parameters for "<pattern>" elements which are not captured by ViewBoxComponent and SizedElementComponent. More... | |
| struct | donner::svg::components::ComputedPatternComponent |
| Computed properties for "<pattern>" elements, after resolving and inheriting values from referenced patterns. 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::PatternComponent |
Parameters for "<pattern>" elements which are not captured by ViewBoxComponent and SizedElementComponent.
| Class Members | ||
|---|---|---|
| optional< Reference > | href | An optional href to another pattern, which is used to inherit properties from if not by this entity. |
| optional< PatternContentUnits > | patternContentUnits |
The pattern content units of the pattern, if std::nullopt, the pattern content units are inherited from the parent or defaulted to PatternContentUnits::Default. |
| optional< PatternUnits > | patternUnits |
The pattern units of the pattern, if std::nullopt, the pattern units are inherited from the parent or defaulted to PatternUnits::Default. |
| SizedElementProperties | sizeProperties | Contains the x, y, width, and height properties of the pattern tile rectangle. |