50 references to GDI_REGION_TYPE
System.Drawing.Common (3)
System\Drawing\Graphics.cs (3)
3327
GDI_REGION_TYPE
type;
3333
if (type ==
GDI_REGION_TYPE
.RGN_ERROR)
3340
if (type ==
GDI_REGION_TYPE
.RGN_ERROR)
System.Private.Windows.Core (3)
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (3)
108
internal static extern winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
CombineRgn(winmdroot.Graphics.Gdi.HRGN hrgnDst, winmdroot.Graphics.Gdi.HRGN hrgnSrc1, winmdroot.Graphics.Gdi.HRGN hrgnSrc2, winmdroot.Graphics.Gdi.RGN_COMBINE_MODE iMode);
665
internal static extern winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
IntersectClipRect(winmdroot.Graphics.Gdi.HDC hdc, int left, int top, int right, int bottom);
757
internal static extern winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
SelectClipRgn(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HRGN hrgn);
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (3)
8815
GDI_REGION_TYPE
selectResult = PInvokeCore.SelectClipRgn(hDC, hClippingRegion);
8817
selectResult is
GDI_REGION_TYPE
.SIMPLEREGION or
GDI_REGION_TYPE
.NULLREGION,
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3779
bool getRegionSucceeded = PInvoke.GetUpdateRgn(HWND, windowRegion, bErase: true) !=
GDI_REGION_TYPE
.RGN_ERROR;
System\Windows\Forms\MDI\MDIClient.cs (1)
298
if (PInvokeCore.CombineRgn(rgn1, rgn1, rgn2, RGN_COMBINE_MODE.RGN_DIFF) ==
GDI_REGION_TYPE
.RGN_ERROR)
System\Windows\Forms\Rendering\DCMapping.cs (10)
65
GDI_REGION_TYPE
originalRegionType;
72
originalRegionType !=
GDI_REGION_TYPE
.RGN_ERROR,
75
if (originalRegionType ==
GDI_REGION_TYPE
.SIMPLEREGION)
79
GDI_REGION_TYPE
combineResult = PInvokeCore.CombineRgn(
86
combineResult is
GDI_REGION_TYPE
.SIMPLEREGION or
GDI_REGION_TYPE
.NULLREGION,
93
originalRegionType =
GDI_REGION_TYPE
.SIMPLEREGION;
97
GDI_REGION_TYPE
selectResult = PInvokeCore.SelectClipRgn(hdc, clippingRegion);
99
selectResult is
GDI_REGION_TYPE
.SIMPLEREGION or
GDI_REGION_TYPE
.NULLREGION,
System.Windows.Forms.Primitives (10)
Windows.Win32.PInvoke.GDI32.dll.g.cs (7)
214
internal static unsafe winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
GetClipBox(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Foundation.RECT lprect)
218
winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
__result = PInvoke.GetClipBox(hdc, lprectLocal);
235
internal static extern unsafe winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
GetClipBox(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.RECT* lprect);
316
internal static unsafe winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
GetRgnBox(winmdroot.Graphics.Gdi.HRGN hrgn, out winmdroot.Foundation.RECT lprc)
320
winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
__result = PInvoke.GetRgnBox(hrgn, lprcLocal);
337
internal static extern unsafe winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
GetRgnBox(winmdroot.Graphics.Gdi.HRGN hrgn, winmdroot.Foundation.RECT* lprc);
495
internal static extern winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
IntersectClipRect(winmdroot.Graphics.Gdi.HDC hdc, int left, int top, int right, int bottom);
Windows.Win32.PInvoke.USER32.dll.g.cs (1)
1915
internal static extern winmdroot.Graphics.Gdi.
GDI_REGION_TYPE
GetUpdateRgn(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HRGN hRgn, winmdroot.Foundation.BOOL bErase);
Windows\Win32\PInvoke.IntersectClipRect.cs (2)
9
public static
GDI_REGION_TYPE
IntersectClipRect<T>(T hdc, int left, int top, int right, int bottom) where T : IHandle<HDC>
11
GDI_REGION_TYPE
result = IntersectClipRect(hdc.Handle, left, top, right, bottom);
System.Windows.Forms.Primitives.Tests (19)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (15)
34
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
35
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
49
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
50
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
64
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
65
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
79
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
80
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
95
GDI_REGION_TYPE
originalRegionType = PInvoke.GetClipBox(hdc, &originalClipRect);
117
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
144
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
145
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
167
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
168
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, regionType);
190
GDI_REGION_TYPE
regionType = PInvoke.GetClipBox(scope, &clipRect);
System\Windows\Forms\DeviceContextScopeTests.cs (2)
25
GDI_REGION_TYPE
type = PInvokeCore.SelectClipRgn(dcScope, dcRegion);
26
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, type);
Windows\Win32\RegionTests.cs (2)
59
GDI_REGION_TYPE
type = PInvoke.GetRgnBox(retrievedRegion, &rect);
60
Assert.Equal(
GDI_REGION_TYPE
.SIMPLEREGION, type);