Cairo.ScaledFont.Dispose C# (CSharp) Method

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void
        protected virtual void Dispose(bool disposing)
        {
            if (!disposing || CairoDebug.Enabled)
                CairoDebug.OnDisposed<ScaledFont> (handle, disposing);

            if (handle == IntPtr.Zero)
                return;

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

Same methods

ScaledFont::Dispose ( ) : void