Re: Basic NSGraphicsContext question
Re: Basic NSGraphicsContext question
- Subject: Re: Basic NSGraphicsContext question
- From: Gerard Iglesias <email@hidden>
- Date: Sat, 5 Jul 2003 00:50:04 +0200
On Saturday, July 5, 2003, at 12:22 AM, Alastair J.Houghton wrote:
Try [NSGraphicsContext currentContext] between the
lockFocus/unlockFocus.
But why do you need an NSGraphicsContext? You don't normally need to
get at the context itself (again, unlike on Win32).
Yes and no, using NSBezierPath to make all drawing is costly, and it is
good to be able to make heavy CG function calls for some kinds of
drawing...
Regards
Gerard
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.