Re: Cocoa-dev Digest, Vol 2, Issue 299
Re: Cocoa-dev Digest, Vol 2, Issue 299
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 299
- From: "Mike R. Manzano" <email@hidden>
- Date: Sat, 5 Mar 2005 08:41:58 -0800
Is there a reason you couldn't just set the affine transform right
before drawing the image on your view, and then restoring the graphics
context immediately after, avoiding the second targetImage altogether?
This should only rotate your image and nothing else in that view.
Mike
On Mar 5, 2005, at 7:14 AM, email@hidden wrote:
I have read the archives about how to rotate an NSImage, but I still
have problems. I want to rotate my image by an angle of 90° or -90°. I
cannot rotate the whole view, so I tried to composite my image
(currentImage) into another (targetImage):
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden