public void SetTarget(Surface target) { CheckDisposed (); if (handle != IntPtr.Zero) NativeMethods.cairo_destroy (handle); handle = NativeMethods.cairo_create (target.Handle); }