11 references to AddRectangle
System.Drawing.Common.Tests (11)
System\Drawing\Drawing2D\GraphicsPathTests.cs (6)
709
gpf.
AddRectangle
(new RectangleF(1, 1, 2, 2));
728
gpf.
AddRectangle
(new RectangleF(1, 1, 1, 1));
735
gpf.
AddRectangle
(new RectangleF(endF.X, endF.Y, 1, 1));
751
gpf.
AddRectangle
(new RectangleF(1f, 2f, width, height));
1128
gp.
AddRectangle
(rectangle);
1599
gp.
AddRectangle
(new RectangleF(10, 10, 20, 20));
System\Drawing\RegionTests.cs (5)
463
path.
AddRectangle
(rect);
870
path.
AddRectangle
(rect);
1227
path.
AddRectangle
(rect);
1766
path.
AddRectangle
(rect);
2124
path.
AddRectangle
(rect);