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

private cairo_scaled_font_reference ( IntPtr scaled_font ) : IntPtr
scaled_font IntPtr
Результат IntPtr
Пример #1
0
 internal ScaledFont(IntPtr handle, bool owner)
 {
     this.handle = handle;
     if (!owner)
     {
         NativeMethods.cairo_scaled_font_reference(handle);
     }
     if (CairoDebug.Enabled)
     {
         CairoDebug.OnAllocated(handle);
     }
 }
Пример #2
0
        internal ScaledFont(IntPtr handle, bool owner)
        {
            if (handle == IntPtr.Zero)
            {
                throw new ArgumentException("handle should not be NULL", "handle");
            }

            this.handle = handle;
            if (!owner)
            {
                NativeMethods.cairo_scaled_font_reference(handle);
            }
            if (CairoDebug.Enabled)
            {
                CairoDebug.OnAllocated(handle);
            }
        }
Пример #3
0
 protected void Reference()
 {
     CheckDisposed();
     NativeMethods.cairo_scaled_font_reference(handle);
 }
 protected void Reference()
 {
     NativeMethods.cairo_scaled_font_reference(handle);
 }