|
|
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.
|
System that advances SVG animations based on the current document time. More...
#include "donner/svg/components/animation/AnimationSystem.h"
Public Member Functions | |
| void | advance (Registry ®istry, double documentTime, std::vector< ParseDiagnostic > *outWarnings=nullptr) |
| Advance all animations to the given document time. | |
System that advances SVG animations based on the current document time.
Runs after style computation but before layout, so that animated property values are applied before layout-dependent computations.
For each animation entity:
| void donner::svg::components::AnimationSystem::advance | ( | Registry & | registry, |
| double | documentTime, | ||
| std::vector< ParseDiagnostic > * | outWarnings = nullptr ) |
Advance all animations to the given document time.
| registry | The ECS registry. |
| documentTime | The current document time in seconds. |
| outWarnings | If non-null, warnings will be added to this vector. |