Locks the focus to the receiver atomically if drawing can occur in the specified graphics context.
Original signature is '- (BOOL)lockFocusIfCanDrawInContext:(NSGraphicsContext *)context'
Available in Mac OS X v10.4 and later.
- context (NSGraphicsContext)
- The graphics context in which drawing might occur. See the discussion for the implications of the type of context.
YES if successful; otherwise, returns NO.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)