|
|
Donner
C++20 SVG rendering library
|
#include "donner/base/Transform.h"#include "donner/svg/core/ClipRule.h"#include "donner/svg/core/PathSpline.h"Classes | |
| struct | donner::svg::components::ComputedClipPathsComponent |
| Stores a computed clip path, which is used to clip the rendering of an entity. More... | |
| struct | donner::svg::components::ComputedClipPathsComponent::ClipPath |
| Information about a specific shape within a clip path. 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::ComputedClipPathsComponent |
Stores a computed clip path, which is used to clip the rendering of an entity.
Aggregates together all paths that compose a clip path, including nested clip paths.
| Class Members | ||
|---|---|---|
| vector< ClipPath > | clipPaths | All clip paths, in order they need to be applied based on their layer. |
| struct donner::svg::components::ComputedClipPathsComponent::ClipPath |
Information about a specific shape within a clip path.
| Class Members | ||
|---|---|---|
| ClipRule | clipRule = ClipRule::NonZero | Computed clip rule for this path. |
| Transformd | entityFromParent | Transform to the clip path from the parent entity. |
| int | layer = 0 |
Layer index of the clip path, to create a new clip path the layer is incremented. Paths within a layer are union'd together. When the layer decreases, the combined path of everything in the layer is differenced with the next path in the list. |
| PathSpline | path | The path of the clip path. |