public void Release() { if (IntPtr.Zero != focusHandle) { MacSupport.CGContextFlush(ctx); } MacSupport.CGContextRestoreGState(ctx); if (IntPtr.Zero != focusHandle) { MacSupport.objc_msgSend(focusHandle, MacSupport.sel_registerName("unlockFocus")); } }
public void Release() { MacSupport.CGContextRestoreGState(ctx); }
public void Synchronize() { MacSupport.CGContextSynchronize(ctx); }
public void Release() { MacSupport.ReleaseContext(port, ctx); }