Trains.NET icon indicating copy to clipboard operation
Trains.NET copied to clipboard

Allow zooming on a touch screen

Open davidwengier opened this issue 5 years ago • 1 comments

Detect the pinch gesture in the WPF (and/or winforms) front end, and call the PointerZoomIn or PointerZoomOut methods on Interaction Manager. Job done!

A quick Bing turned up this: https://www.andrewhoefling.com/Blog/Post/wpf-multitouch-gestures-translation-scale-and-rotate

davidwengier avatar Oct 04 '20 10:10 davidwengier

Or perhaps: https://github.com/mono/SkiaSharp.Extended/blob/dev/controls/source/SkiaSharp.Extended.Controls/SKGestureSurfaceView.cs

davidwengier avatar Jan 23 '22 21:01 davidwengier