• 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
Rotating an image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rotating an image


  • Subject: Rotating an image
  • From: Angela Brett <email@hidden>
  • Date: Tue, 21 Aug 2001 00:36:23 +1200

Hi,

I've been learning how to display images etc for a game. I'd earlier skimmed over the documentation for NSAffineTransform, and assumed it was able to transform an NSImage. Now I've decided I'd actually like to rotate an image, but I've looked more closely at NSAffineTransform and found that it can only be used on NSBezierPaths and various other things.

So, is there a built-in way of rotating an image, or at least displaying it rotated, without writing my own code for it or pre-making all of the rotated versions of the image?
--
Angela Brett email@hidden http://acronyms.co.nz/
"Great minds think different."


  • Follow-Ups:
    • Re: Rotating an image
      • From: "Erik M. Buck" <email@hidden>
    • Re: Rotating an image
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Open file with... option
  • Next by Date: CoreFoundation and Cocoa: mix, burn and RunLoop
  • Previous by thread: Re: Open file with... option
  • Next by thread: Re: Rotating an image
  • Index(es):
    • Date
    • Thread