Rotating an image
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."