| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
[imageRotation translateXBy:bigSide/2.0 yBy:bigSide/2.0];
[imageRotation rotateByDegrees:-rotateFactor]; // counter clockwise
[imageRotation translateXBy:-bigSide/2.0 yBy:-bigSide/2.0];
I have an image whose size is 4000 (width) by 200 (height)
When I apply my transformation the result is a 4000x4000 image with the desired
bits clinging to the right hand side of the "big" box. I have to scroll a bit
to see the rascal, but it is all there.
Is there a nice way to "trim" the window in the two "bad" cases?
When I started the rotation study I initially had a slider that sent
a continuous action for rotation, It looked sorta cool watching the stuff
pinwheel around. I was trying things out with a fair size jpeg zoomed by
a factor of about four. All of a sudden I experience a great slow down in
the "force". Peeking at top showed my VM was over a gig (on my 1 gig machine).
Since that experience I decided to restrict rotation to multiples of 90 :)
| References: | |
| >Rotating Images.... (From: Jerry LeVan <email@hidden>) | |
| >Re: Rotating Images.... (From: Allan Odgaard <email@hidden>) | |
| >Re: Rotating Images.... (From: Jerry LeVan <email@hidden>) | |
| >Re: Rotating Images.... (From: Allan Odgaard <email@hidden>) | |
| >Re: Rotating Images.... (From: Jerry LeVan <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.