Problems with NSGraphicsContext
Problems with NSGraphicsContext
- Subject: Problems with NSGraphicsContext
- From: John Curtis <email@hidden>
- Date: Tue, 28 Feb 2006 22:20:54 +0000
Hello,
I am trying to instantiate a NSGraphicsContext with an
NSBitmapImageRep but the method:
[NSGraphicsContext graphicsContextWithBitmapImageRep:myImageRep]
keeps returning nil for no reason that I can see. The object
myImageRep works fine, I am sure of that. I use it in the following
context:
NSGraphicsContext* graphics = [[NSGraphicsContext
graphicsContextWithBitmapImageRep:myImageRep] retain];
Does anyone know under what reasons would this method return nil if
there is no problem with the NSBitmapImageRep?
Thanks
_______________________________________________
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