|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Computed layout for the Drawing window image, plus helpers for converting between screen coordinates and document coordinates. More...
#include "donner/editor/ViewportGeometry.h"
Public Member Functions | |
| bool | hasImage () const |
| bool | containsScreenPoint (const Vector2d &screenPoint) const |
| std::optional< Vector2d > | screenToDocument (const Vector2d &screenPoint) const |
| std::optional< Vector2d > | documentToScreen (const Vector2d &documentPoint) const |
Public Attributes | |
| Vector2d | imageOrigin |
| Vector2d | imageSize |
| Box2d | documentViewBox |
Computed layout for the Drawing window image, plus helpers for converting between screen coordinates and document coordinates.