6 writes to Region
System.Private.Windows.Core (6)
Windows\Win32\Graphics\Gdi\RegionScope.cs (6)
29
Region
= PInvokeCore.CreateRectRgn(rectangle.X, rectangle.Y, rectangle.Right, rectangle.Bottom);
35
Region
= PInvokeCore.CreateRectRgn(x1, y1, x2, y2);
49
Region
= region;
55
Region
= default;
62
public RegionScope(HRGN region) =>
Region
= region;
78
public void RelinquishOwnership() =>
Region
= default;
3 references to Region
System.Private.Windows.Core (3)
Windows\Win32\Graphics\Gdi\RegionScope.cs (3)
68
public bool IsNull =>
Region
.IsNull;
73
public static implicit operator HRGN(RegionScope regionScope) => regionScope.
Region
;
88
PInvokeCore.DeleteObject(
Region
);