Re: Problem drawing directly to bitmap rep using NSGraphicsContext
Re: Problem drawing directly to bitmap rep using NSGraphicsContext
- Subject: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
- From: Michael Watson <email@hidden>
- Date: Tue, 28 Nov 2006 17:44:12 -0500
Oops, I REALLY wasn't paying attention. Guess I needed some coffee
this morning.
Erik Buck's e-mails should be read by the original poster, not mine. ;-)
--
m-s
On 28 Nov, 2006, at 15:35, Shawn Erickson wrote:
On 11/28/06, Michael Watson <email@hidden> wrote:
Try this change:
[imageRep lockFocus];
[imageRep drawInRect:NSMakeRect(0, 0, [imageRep pixelsWide],
[imageRep
pixelsHifh])];
[imageRep unlockFocus];
Huh? In the above you lock focus on the image rep that you then drawn
back onto itself? Also image reps don't have lockFocus/unlockFocus.
I think we need to better understand what the OP is attempting to do
so we can understand how to assist him with his code.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden