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::AnimateMotionComponent Struct Reference

Declarative motion-path values and timing. More...

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

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

Public Member Functions

 AnimateMotionComponent ()
 Motion defaults to constant distance per unit time.

Public Attributes

std::optional< std::string > href
 Optional animation target.
std::optional< std::string > path
 SVG path data.
std::optional< std::string > from
 Initial point.
std::optional< std::string > to
 Final point.
std::optional< std::string > by
 Point offset.
std::vector< std::string > values
 Point keyframes.
std::vector< double > keyPoints
 Normalized distances corresponding to keyTimes.
std::string rotate = "0"
 Angle in degrees, auto, or auto-reverse.
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

Declarative motion-path values and timing.


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