cairo_path_destroy() приватный Метод

private cairo_path_destroy ( IntPtr path ) : void
path System.IntPtr
Результат void
Пример #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposing || CairoDebug.Enabled)
            {
                CairoDebug.OnDisposed <Path> (handle, disposing);
            }

            if (handle == IntPtr.Zero)
            {
                return;
            }

            NativeMethods.cairo_path_destroy(handle);
            handle = IntPtr.Zero;
        }
Пример #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposing)
            {
                Console.Error.WriteLine("Cairo.Context: called from finalization thread, programmer is missing a call to Dispose");
                return;
            }

            if (handle == IntPtr.Zero)
            {
                return;
            }

            NativeMethods.cairo_path_destroy(handle);
            handle = IntPtr.Zero;
        }