Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
- Subject: Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 28 Nov 2006 12:35:05 -0800
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