Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::PresentationDecorations Struct Reference

Transient UI adornments, distinct from selection geometry captured with the document pixels. More...

#include "donner/editor/FramePresentation.h"

Public Attributes

std::optional< Box2d > marqueeDoc
 Marquee rectangle in document space, while dragging one.
std::vector< Entity > sourceHover
 Elements highlighted by source-pane hover.
Entity lockedFlashEntity = entt::null
 Locked element flashing a rejected selection.
float lockedFlashIntensity = 0.0f
 Fade intensity of the locked-element flash.
std::optional< Path > penPreviewSegmentDoc
 Pen segment that a click would commit.
std::optional< Vector2d > penCloseAffordanceDoc
 First anchor highlighted to close the path.
std::optional< CapturedPresentation::TextEditing > textEditing
 Text-editing caret, frame and selection for an open text session.
std::vector< CapturedPresentation::TextEditing > measuredTextEditing
 Annotations of the open session, one per measured document revision, oldest first. A raster whose capture carries none uses the one measured at its captured revision.
std::optional< SelectionChromeSnapshot::TextBoxDragPreview > textBoxDragPreviewDoc
 Text-box creation preview while the text tool drags one out.

Detailed Description

Transient UI adornments, distinct from selection geometry captured with the document pixels.

Member Data Documentation

◆ lockedFlashEntity

Entity donner::editor::PresentationDecorations::lockedFlashEntity = entt::null

Locked element flashing a rejected selection.

◆ lockedFlashIntensity

float donner::editor::PresentationDecorations::lockedFlashIntensity = 0.0f

Fade intensity of the locked-element flash.

◆ marqueeDoc

std::optional<Box2d> donner::editor::PresentationDecorations::marqueeDoc

Marquee rectangle in document space, while dragging one.

◆ measuredTextEditing

std::vector<CapturedPresentation::TextEditing> donner::editor::PresentationDecorations::measuredTextEditing

Annotations of the open session, one per measured document revision, oldest first. A raster whose capture carries none uses the one measured at its captured revision.

◆ penCloseAffordanceDoc

std::optional<Vector2d> donner::editor::PresentationDecorations::penCloseAffordanceDoc

First anchor highlighted to close the path.

◆ penPreviewSegmentDoc

std::optional<Path> donner::editor::PresentationDecorations::penPreviewSegmentDoc

Pen segment that a click would commit.

◆ sourceHover

std::vector<Entity> donner::editor::PresentationDecorations::sourceHover

Elements highlighted by source-pane hover.

◆ textBoxDragPreviewDoc

std::optional<SelectionChromeSnapshot::TextBoxDragPreview> donner::editor::PresentationDecorations::textBoxDragPreviewDoc

Text-box creation preview while the text tool drags one out.

◆ textEditing

std::optional<CapturedPresentation::TextEditing> donner::editor::PresentationDecorations::textEditing

Text-editing caret, frame and selection for an open text session.


The documentation for this struct was generated from the following file: