5 instantiations of WindowsRegion
System.Windows.Forms (5)
misc\GDI\DeviceContext.cs (1)
624
WindowsRegion clip = new
WindowsRegion
(0,0,0,0);
misc\GDI\WindowsRegion.cs (4)
74
WindowsRegion wr = new
WindowsRegion
();
102
return new
WindowsRegion
();
117
new
WindowsRegion
() :
118
new
WindowsRegion
(this.ToRectangle());
11 references to WindowsRegion
System.Windows.Forms (11)
misc\GDI\DeviceContext.cs (3)
603
public void SetClip(
WindowsRegion
region)
617
public void IntersectClip(
WindowsRegion
wr)
624
WindowsRegion
clip = new WindowsRegion(0,0,0,0);
misc\GDI\WindowsGraphics.cs (2)
167
WindowsRegion
wr = null;
203
wr =
WindowsRegion
.FromRegion(clipRgn, g); // WindowsRegion will take ownership of the hRegion.
misc\GDI\WindowsRegion.cs (6)
73
public static
WindowsRegion
FromHregion(IntPtr hRegion, bool takeOwnership) {
74
WindowsRegion
wr = new WindowsRegion();
92
public static
WindowsRegion
FromRegion( Region region, Graphics g ){
105
return
WindowsRegion
.FromHregion(region.GetHrgn(g), true);
125
public IntNativeMethods.RegionFlags CombineRegion(
WindowsRegion
region1,
WindowsRegion
region2, RegionCombineMode mode) {