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

Input intent consumed once while sealing a frame; draw callbacks cannot consult it later. More...

#include "donner/editor/FramePresentation.h"

Public Attributes

std::uint64_t frameId = 0
 Nonzero identity of the UI frame being sealed.
ViewportState viewport
 Camera and pane geometry for this frame.
Box2d paneClipRect
 Render-pane clip rectangle in logical pixels.
std::vector< Entity > selection
 Selected objects, in selection order.
PresentationIdentity documentIdentity
 Live document scene the frame should present.
bool pendingDocumentMutations = false
 Input not yet incorporated into a guarded capture.
std::optional< SelectTool::ActiveDragPreview > desired
 Drag poses the pointer requests, including a released drag that is still settling.
SelectionChromeDetail detail = SelectionChromeDetail::Full
 Selection chrome detail level.
PresentationDecorations decorations
 Transient UI adornments drawn with this frame.
Entity suppressedLayerEntity = entt::null
 Layer whose tiles are hidden; null hides none.
bool suppressSelectionPixels = false
 Hide tiles owned by selected objects.
bool includeChrome = true
 Whether the frame draws editor chrome.
std::shared_ptr< const CapturedPresentation > livePathReplacement
 Complete vector paint and geometry replacing one independently owned raster layer.
std::shared_ptr< const Path > penPathGeometryLocal
 Latest owning element-space pen geometry, paired with the replacement capture identity.

Detailed Description

Input intent consumed once while sealing a frame; draw callbacks cannot consult it later.

Member Data Documentation

◆ decorations

PresentationDecorations donner::editor::FramePresentationInput::decorations

Transient UI adornments drawn with this frame.

◆ desired

std::optional<SelectTool::ActiveDragPreview> donner::editor::FramePresentationInput::desired

Drag poses the pointer requests, including a released drag that is still settling.

◆ detail

SelectionChromeDetail donner::editor::FramePresentationInput::detail = SelectionChromeDetail::Full

Selection chrome detail level.

◆ documentIdentity

PresentationIdentity donner::editor::FramePresentationInput::documentIdentity

Live document scene the frame should present.

◆ frameId

std::uint64_t donner::editor::FramePresentationInput::frameId = 0

Nonzero identity of the UI frame being sealed.

◆ includeChrome

bool donner::editor::FramePresentationInput::includeChrome = true

Whether the frame draws editor chrome.

◆ livePathReplacement

std::shared_ptr<const CapturedPresentation> donner::editor::FramePresentationInput::livePathReplacement

Complete vector paint and geometry replacing one independently owned raster layer.

◆ paneClipRect

Box2d donner::editor::FramePresentationInput::paneClipRect

Render-pane clip rectangle in logical pixels.

◆ pendingDocumentMutations

bool donner::editor::FramePresentationInput::pendingDocumentMutations = false

Input not yet incorporated into a guarded capture.

◆ penPathGeometryLocal

std::shared_ptr<const Path> donner::editor::FramePresentationInput::penPathGeometryLocal

Latest owning element-space pen geometry, paired with the replacement capture identity.

◆ selection

std::vector<Entity> donner::editor::FramePresentationInput::selection

Selected objects, in selection order.

◆ suppressedLayerEntity

Entity donner::editor::FramePresentationInput::suppressedLayerEntity = entt::null

Layer whose tiles are hidden; null hides none.

◆ suppressSelectionPixels

bool donner::editor::FramePresentationInput::suppressSelectionPixels = false

Hide tiles owned by selected objects.

◆ viewport

ViewportState donner::editor::FramePresentationInput::viewport

Camera and pane geometry for this frame.


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