<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

Windows.Win32.Graphics.Gdi.SetRop2Scope

struct SetRop2Scope
Helper to scope selecting a given foreground mix mode into a HDC. Restores the original mix mode into the HDC when disposed.
namespace Windows.Win32.Graphics.Gdi { internal readonly ref struct SetRop2Scope { public SetRop2Scope(HDC hdc, R2_MODE rop2); public void Dispose(); } }