4 references to GetCurrentObject
System.Drawing (4)
misc\GDI\DeviceContext.cs (4)
181
hCurrentPen = hInitialPen = IntUnsafeNativeMethods.
GetCurrentObject
(new HandleRef(this, hDC), IntNativeMethods.OBJ_PEN);
182
hCurrentBrush = hInitialBrush = IntUnsafeNativeMethods.
GetCurrentObject
(new HandleRef(this, hDC), IntNativeMethods.OBJ_BRUSH);
183
hCurrentBmp = hInitialBmp = IntUnsafeNativeMethods.
GetCurrentObject
(new HandleRef(this, hDC), IntNativeMethods.OBJ_BITMAP);
184
hCurrentFont = hInitialFont = IntUnsafeNativeMethods.
GetCurrentObject
(new HandleRef(this, hDC), IntNativeMethods.OBJ_FONT);