From: <nl...@us...> - 2014-04-23 06:44:58
|
Hi Andrew, zooming is implemented using Piccolo2D. The methods in VCanvas just provide convenient zooming function that are then realized by Piccolo methods. The library uses a scene graph model and zooming and panning works by modifying the PCamera [1] object associated with the canvas. There is a useful tutorial on the Piccolo2D website [2]. Regards, Nils [1] http://piccolo2d.org/doc/piccolo2d.java/release-1.3.2/core/edu/umd/cs/piccolo/PCamera.html [2] http://piccolo2d.org/learn/index.html On Tuesday 22 April 2014 22:24:45 Anjenson wrote: > Hi Till, > > Well as I understand whenever I want to zoom a selected set or anything > else it is done with help of /vcanvas/ field. If it is really so I don't > quite understand how its content is changed as it seems to me that > operations are applied to /selectio//n//field/. I have already found > listeners but that are attached to /vcanvas/ in ScaffoldTreeView, > however I am not sure that it is done through them. > > Regards, > Andrew "Anjenson" Zhilka > > On 04/22/2014 05:25 PM, Till Schäfer wrote: > > Hi, > > i do not understand the context here. Can you explain your idea in more > > detail? > > > > Greetings, > > Till |