Re: image rotation
Re: image rotation
- Subject: Re: image rotation
- From: Jerry Krinock <email@hidden>
- Date: Fri, 29 Apr 2011 09:55:38 -0700
On 2011 Apr 29, at 07:48, Amy Heavey wrote:
> - rotate the componant image by a certain value (calculated previously)
> I think I need to use NSAffineTransform?
I'm not sure, but I've attached code of an NSImage category which I apparently received from David Duncan of Apple. I've used it for rotating images and it's worked for me. And, yes, he uses NSAffineTransform.
Attachment:
NSImage+Transform.zip
Description: Zip archive
_______________________________________________
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