Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Rotating an NSImage

Rotating an NSImage
Thread Tools
Junior Member
Join Date: Oct 2001
Status: Offline
Reply With Quote
Feb 4, 2002, 11:27 AM
 
I am try to rotate an NSImage around the origin by first translating to the origin then rotating finally rotating back. The translations work bu the NSImage is not rotated. I was wondering if there is another method for Image rotation?

Thank You
I be that insane n***a from the psycho ward.
     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Feb 4, 2002, 12:19 PM
 
I haven't tried this, but maybe you can use an NSAffineTransform.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Junior Member
Join Date: Oct 2001
Status: Offline
Reply With Quote
Feb 4, 2002, 01:59 PM
 
I did the initial rotation using an NSAffineTransform. only the translation works correctly. Is there an alternative to NSAffineTransform?

Thanks
I be that insane n***a from the psycho ward.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:38 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2