3 writes to hCurrentPen
System.Drawing (3)
misc\GDI\DeviceContext.cs (3)
181
hCurrentPen
= hInitialPen = IntUnsafeNativeMethods.GetCurrentObject(new HandleRef(this, hDC), IntNativeMethods.OBJ_PEN);
196
hCurrentPen
= IntPtr.Zero;
528
hCurrentPen
= g.hPen;
3 references to hCurrentPen
System.Drawing (3)
misc\GDI\DeviceContext.cs (3)
193
if (handle ==
hCurrentPen
) {
195
Debug.Assert(currentPen ==
hCurrentPen
, "DeviceContext thinks a different pen is selected than the HDC");
577
g.hPen =
hCurrentPen
;