Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
CapturedPresentation.h File Reference

Selection geometry and object poses captured under the raster's document access guard. More...

#include <memory>
#include <span>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "donner/editor/OverlayRenderer.h"
#include "donner/editor/PresentationPose.h"
#include "donner/svg/DonnerController.h"
#include "donner/svg/SVGDocument.h"
Include dependency graph for CapturedPresentation.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::editor::CapturedPresentation
 Immutable geometry/provenance paired with one render result. More...
struct  donner::editor::CapturedPresentation::TextEditing
 Text layout annotations captured under the same mutation revision as their glyphs. More...
struct  donner::editor::CapturedPresentation::Object
 Selection geometry attributed to one object, rather than a gesture-wide coordinate guess. More...
struct  donner::editor::CapturedPresentation::Adornment
 Additional annotation geometry anchored to a captured object or its independent ancestor. More...

Namespaces

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

Detailed Description

Selection geometry and object poses captured under the raster's document access guard.


Class Documentation

◆ donner::editor::CapturedPresentation::TextEditing

struct donner::editor::CapturedPresentation::TextEditing

Text layout annotations captured under the same mutation revision as their glyphs.

Class Members
Vector2i canvasSize = Vector2i::Zero()
optional< TextCaret > caret
optional< array< Vector2d, 4 > > frame
float frameOpacity = 1.0f
PresentationIdentity identity
vector< array< Vector2d, 4 > > selection
Entity subject = entt::null

◆ donner::editor::CapturedPresentation::Object

struct donner::editor::CapturedPresentation::Object

Selection geometry attributed to one object, rather than a gesture-wide coordinate guess.

Class Members
SelectionChromeSnapshot chrome
Entity entity = entt::null
vector< Box2d > paintBoundsDoc
bool pathBoundsCoverFrame = false

◆ donner::editor::CapturedPresentation::Adornment

struct donner::editor::CapturedPresentation::Adornment

Additional annotation geometry anchored to a captured object or its independent ancestor.

Class Members
SelectionChromeSnapshot chrome
bool lockedFlash = false
Entity owner = entt::null
Entity subject = entt::null