15 references to Intersect
System.Drawing.Common.Tests (9)
System\Drawing\RegionTests.cs (9)
373region.Intersect(new Rectangle(5, 5, -10, -10)); 1049clipRegion.Intersect(smaller); 1170region.Intersect(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1183region.Intersect(new Rectangle(5, 5, -10, -10)); 1260AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.Intersect(default(Rectangle))); 1853region.Intersect(new Rectangle(-10, -10, 20, 20)); 1865region.Intersect(new Rectangle(-10, -10, 20, 20)); 1903region.Intersect(new Rectangle(-10, -10, 20, 20)); 1926region.Intersect(new Rectangle(-10, -10, 20, 20));
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
387newClip.Intersect(bounds); 391newClip.Intersect(imageBounds);
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
72_region.Intersect(new Rectangle(0, 0, size.Width, size.Height));
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DesignerFrame.cs (1)
487intersectionRegion.Intersect(overlayControlScreenBounds);
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
346_region.Intersect(_selUIsvc.RectangleToClient(handlerClip));
System\Windows\Forms\Design\TabOrder.cs (1)
297_region?.Intersect(GetConvertedBounds(rootControl));