3 writes to nativeFont
System.Drawing (3)
commonui\System\Drawing\Advanced\Font.cs (3)
69
out this.
nativeFont
);
313
this.
nativeFont
= nativeFont;
603
this.
nativeFont
= IntPtr.Zero;
9 references to nativeFont
System.Drawing (9)
commonui\System\Drawing\Advanced\Font.cs (9)
59
Debug.Assert(this.
nativeFont
== IntPtr.Zero, "nativeFont already initialized, this will generate a handle leak.");
304
Debug.Assert(this.
nativeFont
== IntPtr.Zero, "GDI+ native font already initialized, this will generate a handle leak" );
384
if( this.
nativeFont
== IntPtr.Zero )
390
status = SafeNativeMethods.Gdip.GdipGetFontSize(new HandleRef(this, this.
nativeFont
), out this.fontSize);
513
int status = SafeNativeMethods.Gdip.GdipCloneFont(new HandleRef(this,
nativeFont
), out cloneFont);
532
Debug.Assert( this.
nativeFont
!= IntPtr.Zero, "this.nativeFont == IntPtr.Zero." );
533
return this.
nativeFont
;
585
if (this.
nativeFont
!= IntPtr.Zero) {
590
SafeNativeMethods.Gdip.GdipDeleteFont(new HandleRef(this, this.
nativeFont
));