On Thu, Jun 5, 2008 at 9:15 PM, Nick Zitzmann <[EMAIL PROTECTED]> wrote: > You can still do this in 10.4, just not with NSBitmapImageRep. Create an > NSImage, call -lockFocus on it to create a CGContextRef, call > [[NSGraphicsContext currentContext] graphicsPort] to get the context _after_ > locking focus, draw the image, then call -unlockFocus. That ought to work.
That's exactly what I am trying to do, but [NSGraphicsContext currentContext] returns zero. -- Felipe Monteiro de Carvalho _______________________________________________ Cocoa-dev mailing list ([email protected]) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
