Stable object coordinates used by both raster and selection presentation. More...
#include <cstdint>#include <optional>#include <span>#include "donner/base/EcsRegistry.h"#include "donner/base/Transform.h"Classes | |
| struct | donner::editor::PresentationIdentity |
| Identity of the document content consumed by one renderer capture. More... | |
| struct | donner::editor::PresentationPose |
| An object's absolute pose in the document, independent of mouse gestures. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| bool | donner::editor::FinitePresentationTransform (const Transform2d &documentFromElement) |
| Validate every coefficient of a presentation mapping. | |
| bool | donner::editor::SamePresentationTransform (const Transform2d &lhs, const Transform2d &rhs) |
| Compare two presentation mappings without changing their reference space. | |
| std::optional< Transform2d > | donner::editor::ResolvePresentationTransform (std::span< const PresentationPose > captured, std::span< const PresentationPose > requested) |
| Resolve one affine mapping shared by all selected participants. | |
Stable object coordinates used by both raster and selection presentation.
|
nodiscard |
Validate every coefficient of a presentation mapping.
| documentFromElement | Mapping to inspect. |
|
nodiscard |
Resolve one affine mapping shared by all selected participants.
| captured | Poses belonging to the raster and captured selection geometry. |
| requested | Absolute poses chosen by the current input transaction. |
|
nodiscard |
Compare two presentation mappings without changing their reference space.
| lhs | First mapping. |
| rhs | Second mapping in the same coordinate spaces. |