On 13 Mar '08, at 5:44 PM, Trygve Inda wrote:

Is this thread-safe? Or is it better to create the NSImage so I can call lockFocus ?

The two are equally thread-safe, I'm pretty sure. I have never been brave enough to use AppKit on multiple threads, but I believe the current graphics context is per-thread.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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]

Reply via email to