Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
baxslash
Valued Member
Bronze Codemaster
12
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 24th Feb 2012 00:50 Edited at: 24th Feb 2012 00:50
Hi all. Attached is some "Pinch Zoom" code I have been working on. I plan on making it into a simple function if possible but for now I thought it might be useful for someone attached.

EDIT: I should point out it only works on multitouch devices

Attachments

Login to view attachments
bjadams
AGK Backer
11
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 24th Feb 2012 09:54
Great work.
Would love to have this in the Useful Functions list
baxslash
Valued Member
Bronze Codemaster
12
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 24th Feb 2012 09:56
Thanks! As soon as I've wrapped it in a function I'll post it there too.

Pawprints
7
Years of Service
User Offline
Joined: 11th Oct 2011
Location:
Posted: 31st May 2012 18:57
I know I'm a bit late but that code is really helpful and I understand a little better how the command works now. Cheers for your help with this and yes a function that handles all things multi touch would be fantastic.

Just a real pity windows isn't supported yet as I'd love to be pinching and zooming on my 23 inch monitor!

If it's not broken don't keep trying to fix it.
The Zoq2
9
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 31st May 2012 19:03
Wow, old thread

Thanks for getting it bumped This is something I have wanted to have for some time...
baxslash
Valued Member
Bronze Codemaster
12
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 31st May 2012 20:11
Glad you found it useful

The search bar is very handy for finding stuff like this.

Login to post a reply

Server time is: 2019-06-26 02:41:19
Your offset time is: 2019-06-26 02:41:19