Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::RenderResult::CompositedPreview Struct Reference
Collaboration diagram for donner::editor::RenderResult::CompositedPreview:
[legend]

Public Member Functions

bool valid () const

Public Attributes

svg::RendererBitmap backgroundBitmap
svg::RendererBitmap promotedBitmap
svg::RendererBitmap foregroundBitmap
Entity entity = entt::null
Vector2d promotedTranslationDoc = Vector2d::Zero()
 Compositor-reported translation (in document-space units) to apply when drawing promotedBitmap independently of bg/fg — i.e. the delta between the bitmap's rasterize-time DOM transform and the entity's current DOM transform. For the split-layer display path, the editor blits the promoted bitmap at this offset so it aligns with bg/fg (which were rendered against the current DOM state, with the promoted entity hidden).

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