Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
AnimationNumericAttributes.h File Reference
#include <initializer_list>
#include <optional>
#include <string_view>
#include <utility>
#include "donner/base/EcsRegistry.h"
#include "donner/svg/components/filter/FilterPrimitiveComponent.h"
Include dependency graph for AnimationNumericAttributes.h:

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,.

Functions

template<typename Component, typename Value, typename Visitor>
bool donner::svg::components::VisitAnimationNumberFields (Registry &registry, Entity target, std::string_view name, std::initializer_list< std::pair< std::string_view, Value Component::* > > fields, Visitor &visitor)
 Visit a matching numeric field on an existing component.
template<typename Visitor>
bool donner::svg::components::VisitAnimationNumberAttribute (Registry &registry, Entity target, std::string_view name, Visitor &&visitor)
 Use one field mapping for numeric animation application and underlying-value reads.