Component storing <animateTransform>-specific data. More...
#include "donner/svg/components/animation/AnimateTransformComponent.h"
Public Attributes | |
| std::string | attributeName |
| Required transform attribute on the target element. | |
| TransformAnimationType | type = TransformAnimationType::Translate |
| The transform type (translate, scale, rotate, skewX, skewY). | |
| std::optional< std::string > | href |
| Optional href pointing to the target element. | |
| std::optional< std::string > | from |
| The from value (space-separated numbers). | |
| std::optional< std::string > | to |
| The to value (space-separated numbers). | |
| std::optional< std::string > | by |
| The by value (space-separated numbers). | |
| std::vector< std::string > | values |
| The values list (semicolon-separated keyframes). | |
| 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. | |
Component storing <animateTransform>-specific data.
Values are stored as strings containing space-separated numbers. The number of values per entry depends on the transform type.