Cairo.NativeMethods.cairo_surface_destroy C# (CSharp) Метод

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

private cairo_surface_destroy ( IntPtr surface ) : void
surface IntPtr
Результат void
        internal static extern void cairo_surface_destroy(IntPtr surface);

Usage Example

Пример #1
0
		protected virtual void Dispose (bool disposing)
		{
			if (!disposing || CairoDebug.Enabled)
				CairoDebug.OnDisposed<Surface> (handle, disposing);

			if (handle == IntPtr.Zero)
				return;

			NativeMethods.cairo_surface_destroy (handle);
			handle = IntPtr.Zero;
		}
All Usage Examples Of Cairo.NativeMethods::cairo_surface_destroy
NativeMethods