internal Path(IntPtr handle) { this.handle = handle; if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
internal FontOptions(IntPtr handle) { this.handle = handle; if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
public FontFace(IntPtr handle, bool owned) { this.handle = handle; if (!owned) { NativeMethods.cairo_font_face_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
protected Surface(IntPtr handle, bool owner) { this.handle = handle; if (!owner) { NativeMethods.cairo_surface_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
internal Pattern(IntPtr handle, bool owned) { Handle = handle; if (!owned) { NativeMethods.cairo_pattern_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
public GraphicsContext(IntPtr handle, bool owner) { this.handle = handle; if (!owner) { NativeMethods.cairo_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
public Region(IntPtr handle, bool owned) { this.handle = handle; if (!owned) { NativeMethods.cairo_region_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }
internal ScaledFont(IntPtr handle, bool owner) { this.handle = handle; if (!owner) { NativeMethods.cairo_scaled_font_reference(handle); } if (CairoDebug.Enabled) { CairoDebug.OnAllocated(handle); } }