public void Dispose() { if (handle != IntPtr.Zero) NativeMethods.cairo_device_destroy (handle); handle = IntPtr.Zero; GC.SuppressFinalize (this); }