|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Everything the immediate chrome pass needs to draw one frame of editor chrome. Captured by value because the direct-render callback runs later in the frame, after the shell's borrowed snapshot reference would go stale. More...
#include "donner/editor/EditorShellPresentation.h"
Public Attributes | |
| ViewportState | viewport |
| Viewport this frame's document pixels were placed with. The chrome is drawn with the transform derived from this, which is the same transform DrawDocumentPresentationToFramebuffer placed the tiles with. | |
| Box2d | paneClipRect |
| Render-pane rect in screen pixels; chrome is clipped to it. | |
| SelectionChromeSnapshot | snapshot |
| Chrome geometry, anchored in document space and sized at draw time. | |
Everything the immediate chrome pass needs to draw one frame of editor chrome. Captured by value because the direct-render callback runs later in the frame, after the shell's borrowed snapshot reference would go stale.
| Box2d donner::editor::ImmediateChromePlan::paneClipRect |
Render-pane rect in screen pixels; chrome is clipped to it.
| SelectionChromeSnapshot donner::editor::ImmediateChromePlan::snapshot |
Chrome geometry, anchored in document space and sized at draw time.
| ViewportState donner::editor::ImmediateChromePlan::viewport |
Viewport this frame's document pixels were placed with. The chrome is drawn with the transform derived from this, which is the same transform DrawDocumentPresentationToFramebuffer placed the tiles with.