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)
22
private readonly
R2_MODE
_previousRop;
26
/// Selects <paramref name="rop2"/> into the given <paramref name="hdc"/> using <see cref="PInvokeCore.SetROP2(HDC,
R2_MODE
)"/>.
28
public 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)
1812
R2_MODE
rop2;
1817
rop2 =
R2_MODE
.R2_NOTXORPEN;
1822
rop2 =
R2_MODE
.R2_XORPEN;
1851
R2_MODE
rop2 = (
R2_MODE
)GetColorRop(backColor, (int)
R2_MODE
.R2_NOTXORPEN, (int)
R2_MODE
.R2_XORPEN);
2101
R2_MODE
rop2 =
R2_MODE
.R2_NOT;
System\Windows\Forms\Rendering\ScreenDcCache.cs (1)
110
Debug.Assert(PInvoke.GetROP2(hdc) ==
R2_MODE
.R2_COPYPEN);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
423
R2_MODE
rop2;
428
rop2 =
R2_MODE
.R2_NOTXORPEN;
433
rop2 =
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)
34
using SetRop2Scope ropScope = new(hdc,
R2_MODE
.R2_COPYPEN);
84
using SetRop2Scope ropScope = new(hdc,
R2_MODE
.R2_COPYPEN);