예제 #1
0
        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"));
            }
        }
예제 #2
0
 public void Release()
 {
     MacSupport.CGContextRestoreGState(ctx);
 }
예제 #3
0
 public void Synchronize()
 {
     MacSupport.CGContextSynchronize(ctx);
 }
예제 #4
0
 public void Release()
 {
     MacSupport.ReleaseContext(port, ctx);
 }