Re: Pinch and Rotate

2012-01-25 Thread Ken Corey
On 25/01/2012 15:54, Thomas McGrath III wrote: These are exactly the kinds of things I ran into as well. One thing that happens is that when rotating an image the image gets distorted and so we need the resizeQuality set to "good" or "best" but then it really slows down even further. Okay, so

Re: Pinch and Rotate

2012-01-25 Thread Sergio Schvarstein
Hi Ken & Thomas, I am fighting the same battle, so please let me participate in your discussion. Ken wrote: > As for the quality issues, what I'd suggest is that on the pinchStart > event the quality of the image is saved during the pinch, the quality of > the image is set to 'reduced' while p

Re: Pinch and Rotate

2012-01-25 Thread Ken Corey
On 25/01/2012 16:19, Ken Corey wrote: As for the quality issues, what I'd suggest is that on the pinchStart event the quality of the image is saved during the pinch, the quality of the image is set to 'reduced' while pinching, and then in the pinchEnd the quality is set back to its previous value

Re: Pinch and Rotate

2012-01-25 Thread Ken Corey
On 25/01/2012 15:54, Thomas McGrath III wrote: These are exactly the kinds of things I ran into as well. One thing that happens is that when rotating an image the image gets distorted and so we need the resizeQuality set to "good" or "best" but then it really slows down even further. Well, tu

Re: Pinch and Rotate

2012-01-25 Thread Thomas McGrath III
Ken, These are exactly the kinds of things I ran into as well. One thing that happens is that when rotating an image the image gets distorted and so we need the resizeQuality set to "good" or "best" but then it really slows down even further. Still looking -- Tom McGrath III http://lazyriver.

Re: Pinch and Rotate

2012-01-23 Thread Ken Corey
I hadn't tried that before. I tried it just now, and if anything it made the behaviour worse. This were even more jittery than before. By "jittery" I mean the items flash back and forth 10-20 pixels. If you move your fingers quickly, it's easy to get the image drawing in a wildly incorrect

Re: Pinch and Rotate

2012-01-23 Thread Chris Sheffield
Ken, Did you try setting acceleratedRendering to true and then setting the layerMode property of the image to "dynamic"? Might make a difference. Kind of guessing, though. Chris On Jan 23, 2012, at 4:02 PM, Ken Corey wrote: > Hiya Thomas, > > I've been meaning to take a stab at this, and yo

Re: Pinch and Rotate

2012-01-23 Thread Ken Corey
Hiya Thomas, I've been meaning to take a stab at this, and your post got me off my duff. I've seen a few apps that do multitouch pinch to zoom *really* well. by that I mean that the pinch can accomplish 3 things at the same time: scale something rotate something move something The last one m

Re: Pinch and Rotate

2012-01-22 Thread Michael Doub
Many thanks Thomas. This is a big help. Did you do any experiments with doing pinch to zoom and scrolling? I am wondering the relationship between the scroller messages and the touch messages. We have three properties that are of interest: canCancelTouches, delayTouches and scrollingEnable

Re: Pinch and Rotate

2012-01-22 Thread Thomas McGrath III
I also added a resizeQuality to the "on touchMove" handler: set the resizeQuality of image "square" to "best" -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 22, 2012, at 1:57 PM, Thomas McGrath III wrote: > > I was playing around with the "Pinch to Zoom an object"