Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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
 Compare all members for value equality.

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

Member Function Documentation

◆ operator==()

bool donner::editor::RenderPaneGestureAction::operator== ( const RenderPaneGestureAction & other) const
default

Compare all members for value equality.

Parameters
otherValue to compare.

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