wacky image stretching on rotation (repost)
wacky image stretching on rotation (repost)
- Subject: wacky image stretching on rotation (repost)
- From: Gavin Stokes <email@hidden>
- Date: Fri, 06 Jul 2012 00:57:28 -0700
I have a UIImageView in a custom TableViewCell that I want to rotate to
arbitrary angles. When I apply a rotation transformation like so:
CGAffineTransform rotation = CGAffineTransformMakeRotation(15 * (M_PI /
180));
[self.thumbImageView setTransform:rotation];
The image is not only rotated but stretched significantly in the horizontal
direction. It's not a content-resizing problem, because the originally
square UIImageView is now clearly not square. Screen shot here:
http://farm8.staticflickr.com/7132/7513267936_bbff9019b5_b.jpg
Anybody know what's going on with this?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden