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

Classes

struct  donner::svg::components::AnimateTransformComponent
 Component storing <animateTransform>-specific 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,.

Enumerations

enum class  donner::svg::components::TransformAnimationType : uint8_t {
  donner::svg::components::Translate ,
  donner::svg::components::Scale ,
  donner::svg::components::Rotate ,
  donner::svg::components::SkewX ,
  donner::svg::components::SkewY
}
 Transform type for <animateTransform>. More...

Class Documentation

◆ donner::svg::components::AnimateTransformComponent

struct donner::svg::components::AnimateTransformComponent

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.

Class Members
optional< string > by The by value (space-separated numbers).
optional< string > from The from value (space-separated numbers).
optional< string > href Optional href pointing to the target element.
optional< string > to The to value (space-separated numbers).
TransformAnimationType type = TransformAnimationType::Translate The transform type (translate, scale, rotate, skewX, skewY).
vector< string > values The values list (semicolon-separated keyframes).