On May 16, 5:19 pm, Hamann <
stev...@gmail.com> wrote:
> If u dig in the jit file U see on linenumber: 2620
>
> onMouseWheel: function(e, win, scroll) {
> if(!this.config.zooming) return;
> $.event.stop($.event.get(e, win));
> var val = this.config.zooming / 1000,
> ans = 1 + scroll * val;
> this.canvas.scale(ans, ans);
>
> },
>
> U see 2 things:
> 1 the setup Zoonlevel (this.config.zooming)
> 2 Scaling the canvas
>
> Also, this.canvas.scaleOffsetX and this.canvas.scaleOffsetY returns the
> current Scale!!
>
> Op woensdag 16 mei 2012 13:37:51 UTC+2 schreef Hamann het volgende:
>
>
>
>
>
>
>
>
>
> > Hi James,
>
> > this example below show the resize of text when user Clicked on node
> > It's a project of Ivan Gasparetto (see post: