Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ContextualLengthRecipe.h File Reference
#include <cstddef>
#include <memory>
#include <utility>
#include <variant>
#include <vector>
#include "donner/svg/components/animation/AnimateValueComponent.h"
#include "donner/svg/components/animation/SetAnimationComponent.h"
Include dependency graph for ContextualLengthRecipe.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::ContextualLengthSample
 An admitted value declaration with its resolved time, independent of document storage. More...
struct  donner::svg::components::ContextualLengthRecipe
 Ordered animation stack retained until the referencing instance's length context is known. 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,.

Class Documentation

◆ donner::svg::components::ContextualLengthSample

struct donner::svg::components::ContextualLengthSample

An admitted value declaration with its resolved time, independent of document storage.

Class Members
variant< AnimateValueComponent, SetAnimationComponent > declaration Owned declaration operands, admitted before capture.
shared_ptr< const ContextualLengthRecipe > frozenUnderlying Lower sandwich sampled at this layer's freeze boundary, for a partially frozen to-only animation. Null with usesFrozenUnderlying means the authored base. The recipe is built only from earlier layers, so ownership is acyclic.
double iteration = 0 Completed iteration count.
double progress = 0 Progress in the active iteration.
bool usesFrozenUnderlying = false Whether this layer's underlying value is rebuilt at its freeze boundary.