Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::RenderPaneGestureAction Struct Reference

Output of ClassifyRenderPaneScrollGesture. More...

#include "donner/editor/RenderPaneGesture.h"

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: