Dear all,
When I played the zoom example of Piccolo demo, I got one wonder that is Pcanvas only support drag actions to zoom ?
Thus I went to review the source code of Pcanvas, then I found it has one variable PZoomEventHandler to control the zoom actions. Furthermore, I reviewed the source code of PZoomEventHandler, I realized it inheritances from PDragSequenceEventHandler. Is this mean Pcanvas only support drag actions to zoom ?
If I'm correct, following are my details queries:
1) If I want to achieve double click actions to zoom, which class in Piccolo I should use to let PZoomEventHandler inherit from instead of PDragSequenceEventHandler ?
2) if I change the PZoomEventHandler, definitely it will affect all zoom performance. Is it better I add one more variable like PZoomEventHandlerV2 in Pcanvas to handle special zoom by using double click actions ?
Thank you for your time and suggestion.
Cheers
Paul