• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: image rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >image rotation (From: Amy Heavey <email@hidden>)

  • Prev by Date: Arbitrary Shaped Windows
  • Next by Date: Re: Arbitrary Shaped Windows
  • Previous by thread: image rotation
  • Next by thread: Using affine transforms
  • Index(es):
    • Date
    • Thread