Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
UndoTimeline.h File Reference
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "donner/base/Transform.h"
#include "donner/editor/AttributeWriteback.h"
#include "donner/svg/SVGElement.h"
Include dependency graph for UndoTimeline.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::editor::UndoSnapshot
 Captured state of an element at a point in time. More...
struct  donner::editor::UndoEntry
 A single entry in the non-destructive undo timeline. More...
class  donner::editor::UndoTimeline
 Non-destructive chronological undo timeline. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

UndoSnapshot donner::editor::captureTransformSnapshot (const svg::SVGElement &element)
 Capture the current transform of an SVGElement as an undo snapshot.
void donner::editor::applySnapshot (const UndoSnapshot &snapshot)
 Apply a previously captured snapshot back to its element.