|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Everything the framebuffer underlay needs to draw one frame of document pixels. Captured by value because the underlay callback runs later in the frame, after the shell's borrowed tile views would have gone stale. More...
#include "donner/editor/DocumentPresenter.h"
Public Attributes | |
| ViewportState | viewport |
| Viewport transform the tiles are placed with. | |
| Box2d | documentClipRect |
| Document rect clipped to the render pane, in screen pixels. | |
| std::vector< GlTextureCache::TileView > | overviewTiles |
| Low-resolution whole-document tiles drawn beneath the active tiles. | |
| std::vector< GlTextureCache::TileView > | tiles |
| Viewport-resolution tiles for this frame. | |
| std::optional< SelectTool::ActiveDragPreview > | activeDragPreview |
| Live drag preview whose transform the presented tiles are advanced by. | |
| std::optional< SelectTool::ActiveDragPreview > | displayedDragPreview |
| Drag preview the currently presented tiles were rasterized against. | |
| Entity | suppressedLayerEntity = entt::null |
| Layer whose tile must not be drawn (pen live preview, hidden layer). | |
| bool | suppressDragTargetTiles = false |
| Whether drag-target tiles are suppressed for this frame. | |
Everything the framebuffer underlay needs to draw one frame of document pixels. Captured by value because the underlay callback runs later in the frame, after the shell's borrowed tile views would have gone stale.
| std::optional<SelectTool::ActiveDragPreview> donner::editor::FramebufferUnderlayPlan::activeDragPreview |
Live drag preview whose transform the presented tiles are advanced by.
| std::optional<SelectTool::ActiveDragPreview> donner::editor::FramebufferUnderlayPlan::displayedDragPreview |
Drag preview the currently presented tiles were rasterized against.
| Box2d donner::editor::FramebufferUnderlayPlan::documentClipRect |
Document rect clipped to the render pane, in screen pixels.
| std::vector<GlTextureCache::TileView> donner::editor::FramebufferUnderlayPlan::overviewTiles |
Low-resolution whole-document tiles drawn beneath the active tiles.
| bool donner::editor::FramebufferUnderlayPlan::suppressDragTargetTiles = false |
Whether drag-target tiles are suppressed for this frame.
| Entity donner::editor::FramebufferUnderlayPlan::suppressedLayerEntity = entt::null |
Layer whose tile must not be drawn (pen live preview, hidden layer).
| std::vector<GlTextureCache::TileView> donner::editor::FramebufferUnderlayPlan::tiles |
Viewport-resolution tiles for this frame.
| ViewportState donner::editor::FramebufferUnderlayPlan::viewport |
Viewport transform the tiles are placed with.