> On Jun 18, 2016, at 11:04 AM, Richard Charles <rcharles...@gmail.com> wrote:
> 
> So I think the takeaway is that draw calls operate within a graphic context. 
> If the context you want and need is the current context then you are good to 
> go.

Just to reiterate, if the context you want to draw to is not active you can 
simply do this.

[context makeCurrentContext];

So yes, you do not need to call lockFocus, but the context you want must be the 
current context which is what lockFocus does.

--Richard Charles


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to