Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::components::AnimateValueComponent Struct Reference

Component storing <animate>-specific value data. More...

#include "donner/svg/components/animation/AnimateValueComponent.h"

Inheritance diagram for donner::svg::components::AnimateValueComponent:
[legend]

Public Attributes

std::string attributeName
 The attributeName identifying which attribute to animate.
std::optional< std::string > href
 Optional href pointing to the target element. If absent, targets the parent element.
std::optional< std::string > from
 The from value (start of interpolation).
std::optional< std::string > to
 The to value (end of interpolation).
std::optional< std::string > by
 The by value (offset from start).
std::vector< std::string > values
 The values list (semicolon-separated keyframes). Takes precedence over from/to/by.
Public Attributes inherited from donner::svg::components::AnimationInterpolation
CalcMode calcMode = CalcMode::Linear
 Interpolation mode.
std::vector< double > keyTimes
 Normalized keyframe times.
std::vector< double > keySplines
 Four control coordinates per interval.
bool additive = false
 Add to the underlying value.
bool accumulate = false
 Add completed iterations' final values.
bool valid = true
 False after a malformed interpolation attribute.

Detailed Description

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.


The documentation for this struct was generated from the following file: