21 references to R2_MODE
System.Private.Windows.Core (5)
_generated\195\Windows.Win32.PInvokeCore.GDI32.dll.g.cs (1)
850 internal static extern int SetROP2(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.R2_MODE rop2);
Windows\Win32\Graphics\Gdi\SetRop2Scope.cs (4)
22private readonly R2_MODE _previousRop; 26/// Selects <paramref name="rop2"/> into the given <paramref name="hdc"/> using <see cref="PInvokeCore.SetROP2(HDC, R2_MODE)"/>. 28public SetRop2Scope(HDC hdc, R2_MODE rop2) 30_previousRop = (R2_MODE)PInvokeCore.SetROP2(hdc, rop2);
System.Windows.Forms (10)
System\Windows\Forms\Rendering\ControlPaint.cs (9)
1812R2_MODE rop2; 1817rop2 = R2_MODE.R2_NOTXORPEN; 1822rop2 = R2_MODE.R2_XORPEN; 1851R2_MODE rop2 = (R2_MODE)GetColorRop(backColor, (int)R2_MODE.R2_NOTXORPEN, (int)R2_MODE.R2_XORPEN); 2101R2_MODE rop2 = R2_MODE.R2_NOT;
System\Windows\Forms\Rendering\ScreenDcCache.cs (1)
110Debug.Assert(PInvoke.GetROP2(hdc) == R2_MODE.R2_COPYPEN);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
423R2_MODE rop2; 428rop2 = R2_MODE.R2_NOTXORPEN; 433rop2 = R2_MODE.R2_XORPEN;
System.Windows.Forms.Primitives (3)
_generated\414\Windows.Win32.PInvoke.GDI32.dll.g.cs (1)
351 internal static extern winmdroot.Graphics.Gdi.R2_MODE GetROP2(winmdroot.Graphics.Gdi.HDC hdc);
System\Windows\Forms\DeviceContextExtensions.cs (2)
34using SetRop2Scope ropScope = new(hdc, R2_MODE.R2_COPYPEN); 84using SetRop2Scope ropScope = new(hdc, R2_MODE.R2_COPYPEN);