C#/WPF Ink Stroke with IsManipulationEnabled?

433 views Asked by At

I'm creating a simple multitouch WPF application with inkcanvas. Right now it is possible to use gestures (zooming, moving, rotating) with images in the inkcanvas, but ink strokes do not have the IsManipulationEnabled property, so the code I made for UIElements is not valid for ink strokes.

Any idea about hwo to solve this?

1

There are 1 answers

0
Jason Horrocks On

One approach is to get the points from a stroke and redraw them in another drawable class that inherits from UIElement like System.Windows.Shapes.Path. Not the most elegant solution but workable.