On Mon, Dec 22, 2008 at 4:22 PM, David Alter <alterconsult...@gmail.com> wrote: >> > CGContextRef myContext = >> > (CGContextRef)[[NSGraphicsContext currentContext]graphicsPort]; >> >> Right now you're getting the current graphics context, which is purely >> arbitrary. Nothing has set it yet, so you're getting whatever happened >> to be hanging around. > > Is there a way to create a NSGraphicsContext for the view?
The paragraph immediately following the one you quoted describes how. Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com