Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::RenderPaneGestureAction Struct Reference

Output of ClassifyRenderPaneScrollGesture. More...

#include "donner/editor/RenderPaneGesture.h"

Collaboration diagram for donner::editor::RenderPaneGestureAction:
[legend]

Public Member Functions

bool operator== (const RenderPaneGestureAction &other) const =default

Public Attributes

RenderPaneGestureActionType type = RenderPaneGestureActionType::Pan
 Which viewport helper to call.
Vector2d panScreenDelta = Vector2d::Zero()
 Screen-pixel delta for ViewportState::panBy.
double zoomFactor = 1.0
 Multiplicative zoom factor to apply to ViewportState::zoom.
Vector2d focalScreen = Vector2d::Zero()
 Focal screen point for ViewportState::zoomAround.

Detailed Description


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