Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::DocumentPresentationResult Struct Reference

What the presenter resolved for this frame. More...

#include "donner/editor/DocumentPresenter.h"

Public Attributes

ViewportState presentedViewport
 The viewport this frame's presented document pixels are placed with.

Detailed Description

What the presenter resolved for this frame.

Member Data Documentation

◆ presentedViewport

ViewportState donner::editor::DocumentPresentationResult::presentedViewport

The viewport this frame's presented document pixels are placed with.

Always the live viewport: the underlay draws this frame's tiles with it. The field survives the worker-surface deletion because every caller that draws onto the document - selection chrome, the compositor tile overlay, the presented image clip - must read the transform the pixels were placed with rather than assume one.


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