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: Erik Buck <email@hidden>
- Date: Tue, 28 Nov 2006 10:37:28 -0800 (PST)
All you seem to be doing is drawing one image in another.
What is the size of pBitmapRep ? If it is not at least as large as NSMakeRect(0, 0, [imageRep pixelsWide], [imageRep pixelsHigh]); then it is rather obvious why you are not seeing the whole image isn't it ?
How about drawing to NSMakeRect(0, 0, [pBitmapRep pixelsWide], [pBitmapRep pixelsHigh]) ?
_______________________________________________
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