Hi there,
I found this wonderful PinchZoom script by Brian Milby on GitHub;
https://github.com/bwmilby/lc-misc/blob ... codescript
I am trying to add rotation so I added to this script another found script (rotating image) with mousedown and mouseup.
Now pinch-zoom-rotate somehow 'works' but things could be better and smoother.
Anyone can make this smoother? And better?
And is willing to
In the attached file I used two SVG widgets.
One with only the Pinch Zoom script and one with the image rotation script added.
Greetings,
William
Pinch-Zoom-Rotate script 'works' but .....
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 67
- Joined: Tue Jun 26, 2012 7:07 pm
Pinch-Zoom-Rotate script 'works' but .....
- Attachments
-
- TouchRotate.livecode.zip
- (3.94 KiB) Downloaded 215 times
-
- VIP Livecode Opensource Backer
- Posts: 67
- Joined: Tue Jun 26, 2012 7:07 pm
Re: Pinch-Zoom-Rotate script 'works' but .....
Hi there,
A follow up on my own message.
I noticed today that a single touch on the SVG (with only the original script by Brian) makes the SVG 'jump'.
It makes a small move on the screen.
A single tab with two vingers at once makes the SVG 'disappear'.
It goes offscreen.
We don't want that to happen ......
A follow up on my own message.
I noticed today that a single touch on the SVG (with only the original script by Brian) makes the SVG 'jump'.
It makes a small move on the screen.
A single tab with two vingers at once makes the SVG 'disappear'.
It goes offscreen.
We don't want that to happen ......