Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
AnimationSystem.h File Reference
#include <string_view>
#include <vector>
#include "donner/base/EcsRegistry.h"
#include "donner/base/ParseDiagnostic.h"
#include "donner/svg/core/Event.h"
Include dependency graph for AnimationSystem.h:

Classes

class  donner::svg::components::AnimationSystem
 Evaluates declarative SVG animation elements at a document time and applies their values. 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::AnimationCollectionMode {
  donner::svg::components::ReadOnly ,
  donner::svg::components::DiscardExcludedState
}
 System that advances SVG animations based on the current document time. More...

Functions

std::vector< Entity > donner::svg::components::CollectAnimationEntities (Registry &registry, AnimationCollectionMode mode=AnimationCollectionMode::ReadOnly)
 Collect attached animation declarations in document order.
bool donner::svg::components::IsAnimationInSvgNamespace (Registry &registry, Entity entity)
 Check that an element and its ancestors resolve to the SVG namespace.