|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
#include <cstdint>#include <optional>#include <string>#include <vector>Classes | |
| struct | donner::svg::components::AnimateValueComponent |
| Component storing <animate>-specific value data. 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,. | |
Enumerations | |
| enum class | donner::svg::components::CalcMode : uint8_t { donner::svg::components::Discrete , donner::svg::components::Linear } |
| Interpolation mode for <animate>. More... | |
| struct donner::svg::components::AnimateValueComponent |
Component storing <animate>-specific value data.
Values can be specified via from/to/by pairs or a values list. The values list takes precedence when present.
| Class Members | ||
|---|---|---|
| string | attributeName | The attributeName identifying which attribute to animate. |
| optional< string > | by | The by value (offset from start). |
| CalcMode | calcMode = CalcMode::Linear | Interpolation mode. |
| optional< string > | from | The from value (start of interpolation). |
| optional< string > | href | Optional href pointing to the target element. If absent, targets the parent element. |
| vector< double > | keyTimes | keyTimes: maps values to positions in [0,1]. Count must match values count. |
| optional< string > | to | The to value (end of interpolation). |
| vector< string > | values | The values list (semicolon-separated keyframes). Takes precedence over from/to/by. |