4 references to Complement
System.Drawing.Common.Tests (3)
System\Drawing\RegionTests.cs (3)
374
region.
Complement
(new Rectangle(-5, -5, 12, 12));
430
region.
Complement
(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height));
520
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
Complement
(default(Rectangle)));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
807
invalidDragRegion.
Complement
(newImageRect);