#include <memory>#include <string>#include <unordered_map>#include "donner/svg/components/animation/ContextualLengthRecipe.h"Classes | |
| struct | donner::svg::components::AnimationStyleContext |
| Enables animated presentation values during the final style cascade pass. More... | |
| 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,. | |
| struct donner::svg::components::AnimationStyleContext |
| 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.
Sampled values are stored as raw strings consumed by the style and presentation passes. They remain separate from the authored XML attributes.
| Class Members | ||
|---|---|---|
| unordered_map< string, shared_ptr< const ContextualLengthRecipe > > | contextualLengths | Immutable recipes for fields whose units depend on the final referencing instance. |
| unordered_map< string, string > | overrides | Map from attribute name to its animated value (as a raw string). |