Re: Rotating NSImage?
Re: Rotating NSImage?
- Subject: Re: Rotating NSImage?
- From: Clyde McQueen <email@hidden>
- Date: Fri, 8 Jun 2001 07:22:51 -0700
Thanks for the info. -drawAtPoint does the trick.
Another question: how do I get the resulting rotated bitmap data (in
jpeg, preferably) back out of the view? I see -dataWithEPSInsideRect and
-dataWithPDFInsideRect, in NSView but no -dataWithBitmapInsideRect or
some such.
/Clyde
On Thursday, June 7, 2001, at 05:10 PM, Matthew Formica wrote:
-compositeToPoint:operation: ignores the rotation. For historical
reasons,
this API can't be fixed, so you should use the new equivalent
-drawAtPoint:
methods instead if you care about scale/rotation.
Matthew Formica
Apple DTS Engineer - Dev Tools and Cocoa
email@hidden
on 6/7/01 11:37 AM, Clyde McQueen at email@hidden remarked:
Should I expect NSImage objects to rotate when I rotate the enclosing
view?