|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Additional per-frame state that is only available from the live editor, not from ImGui alone. More...
#include "donner/editor/repro/ReproRecorder.h"
Public Attributes | |
| std::optional< ReproViewport > | viewport |
| Viewport snapshot used for this frame's screen→document mapping. | |
| std::optional< std::pair< double, double > > | mouseDoc |
| Mouse position in SVG-document coordinates. | |
| std::function< std::optional< ReproHit >(double docX, double docY)> | hitTester |
| Optional mouse-down hit-test callback for diagnostics. | |
Additional per-frame state that is only available from the live editor, not from ImGui alone.
| std::function<std::optional<ReproHit>(double docX, double docY)> donner::editor::repro::FrameContext::hitTester |
Optional mouse-down hit-test callback for diagnostics.
| std::optional<std::pair<double, double> > donner::editor::repro::FrameContext::mouseDoc |
Mouse position in SVG-document coordinates.
| std::optional<ReproViewport> donner::editor::repro::FrameContext::viewport |
Viewport snapshot used for this frame's screen→document mapping.