This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Jason, is it possible to add multi touch (well known from smartphones) gestures (especially zooming) to the diagramming framework? If yes, how can I achieve/implement this feature? Or is it implemented and i didn't noticed it. Thanks Patrick |
|
|
Hi Patrick, This is not a built in feature, but you should be able to add support for this. To control the zoom, the DiagramSurface GetViewport and SetViewport methods will help here. You just need to listen to gesture events and convert that into viewport changes. The equations can take a bit of tweaking to get right, but there are examples and frameworks you can find that might help. If you have trouble getting the DiagramSurface to use the viewport you want, let me know. If you send a simple project of how far you get, I may be able to help out. Keep in mind that we are just about to have a two week break. -Jason Fauchelle |
|