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

Paint-ordered composited tiles and promoted interaction state. More...

#include "donner/editor/AsyncRenderer.h"

Public Member Functions

bool valid () const
 True when the tile list is nonempty; presentation validates payloads later.

Public Attributes

std::vector< CompositedTile > tiles
 Paint-order tile list. Presentation samples the tiles in this order at (canvasOffsetDoc + dragTranslationDoc) * pixelsPerDocUnit, with size bitmapDimsDoc * pixelsPerDocUnit.
Entity entity = entt::null
 Primary editor-promoted entity represented by a movable layer tile. Null when Off or when the requested selection must remain inside its owning compositor tiles.
svg::compositor::InteractionHint interactionKind = svg::compositor::InteractionHint::Selection
 Interaction phase that produced this composited preview.
std::optional< RenderRequest::DragPreview > representedDragPreview
 Drag preview state represented by the tile transforms in this result.

Detailed Description

Paint-ordered composited tiles and promoted interaction state.


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