private ScaledFont ( |
||
handle | ||
owner | bool | |
return | System |
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);
}
ScaledFont::ScaledFont ( |