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.
Loading...
Searching...
No Matches
AnimatedValuesComponent.h File Reference
#include <string>
#include <unordered_map>
Include dependency graph for AnimatedValuesComponent.h:

Classes

struct  donner::svg::components::AnimatedValuesComponent
 Component on target entities that holds animated attribute overrides. 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,.

Class Documentation

◆ donner::svg::components::AnimatedValuesComponent

struct donner::svg::components::AnimatedValuesComponent

Component on target entities that holds animated attribute overrides.

When an animation is active, its computed value is stored here. The style system checks this map before falling back to base attribute values.

For Phase 1 (<set> only), values are stored as raw strings that get re-parsed by the style system as if they were attribute values.

Class Members
unordered_map< string, string > overrides Map from attribute name to its animated value (as a raw string for Phase 1).