internal static extern IntPtr cairo_device_reference(IntPtr device);
internal Device(IntPtr handle) { if (handle == IntPtr.Zero) { throw new ArgumentException("handle should not be NULL", "handle"); } this.handle = NativeMethods.cairo_device_reference(handle); }