Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
AnimationTimeline.h File Reference
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>
#include "donner/base/EcsRegistry.h"
#include "donner/svg/components/animation/AnimationResourceBudget.h"
Include dependency graph for AnimationTimeline.h:

Classes

struct  donner::svg::components::AnimationTimeSpecifier
 One declarative timing source and its offset. 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,.

Functions

std::optional< std::vector< AnimationTimeSpecifier > > donner::svg::components::ParseAnimationTimeList (std::string_view value)
 Parse a bounded timing list.
bool donner::svg::components::ResolveAnimationTimeline (Registry &registry, std::span< const Entity > animations, double time)
 Resolve animation intervals and select their state at an arbitrary document time.
bool donner::svg::components::ResolveAnimationTimeline (Registry &registry, std::span< const Entity > animations, double time, AnimationResourceBudget &budget)
 Resolve intervals using the caller's shared reference allowance.
bool donner::svg::components::InsertAnimationInstance (std::vector< double > &times, double time)
 Retain a finite event instance time, without discarding earlier intervals.