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
SetAnimationComponent.h File Reference
#include <optional>
#include <string>
Include dependency graph for SetAnimationComponent.h:

Classes

struct  donner::svg::components::SetAnimationComponent
 Component storing <set>-specific animation 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,.

Class Documentation

◆ donner::svg::components::SetAnimationComponent

struct donner::svg::components::SetAnimationComponent

Component storing <set>-specific animation data.

<set> is the simplest animation element: it sets a target attribute to a discrete value for the duration of the animation. It has no interpolation; the to value applies as-is when the animation is active.

Class Members
string attributeName The attributeName identifying which attribute to animate.
optional< string > href Optional href pointing to the target element. If absent, targets the parent element.
string to The to value to set when the animation is active.