32 references to AddRectangle
System.Drawing.Common.Tests (32)
System\Drawing\Drawing2D\CustomLineCapTests.cs (1)
22
strokePath.
AddRectangle
(new Rectangle(0, 0, 10, 10));
System\Drawing\Drawing2D\GraphicsPathTests.cs (17)
147
gp.
AddRectangle
(new Rectangle(1, 1, 2, 2));
160
gp.
AddRectangle
(new Rectangle(1, 1, 2, 2));
180
gp.
AddRectangle
(new Rectangle(1, 1, 2, 2));
705
gpi.
AddRectangle
(new Rectangle(1, 1, 2, 2));
718
gpi.
AddRectangle
(new Rectangle(1, 1, 1, 1));
724
gpi.
AddRectangle
(new Rectangle((int)endI.X, (int)endI.Y, 1, 1));
748
gpi.
AddRectangle
(new Rectangle(1, 2, width, height));
978
inner.
AddRectangle
(new Rectangle(1, 1, 2, 2));
1089
gp.
AddRectangle
(new Rectangle(1, 1, 2, 2));
1272
gp.
AddRectangle
(new Rectangle(0, 0, 100, 100));
1662
gp.
AddRectangle
(new Rectangle(1, 1, 2, 2));
1729
gp.
AddRectangle
(rectangle);
1931
gp.
AddRectangle
(new Rectangle(1, 2, 3, 4));
1970
gp.
AddRectangle
(new Rectangle(200, 201, 60, 61));
2006
gp.
AddRectangle
(new Rectangle(200, 201, 60, 61));
2277
gp.
AddRectangle
(new Rectangle(10, 10, 20, 20));
2304
gp.
AddRectangle
(new Rectangle(10, 10, 20, 20));
System\Drawing\RegionTests.cs (14)
104
graphicsPath.
AddRectangle
(new Rectangle(1, 2, 3, 4));
167
graphicsPath.
AddRectangle
(new Rectangle(1, 2, 3, 4));
168
graphicsPath.
AddRectangle
(new Rectangle(4, 5, 6, 7));
194
path1.
AddRectangle
(new Rectangle(-4194304, -4194304, 8388608, 8388608));
198
path2.
AddRectangle
(new Rectangle(-4194304, -4194304, 8388608, 8388608));
199
path2.
AddRectangle
(Rectangle.Empty);
203
path3.
AddRectangle
(new Rectangle(-4194304, -4194304, 8388608, 8388608));
204
path3.
AddRectangle
(new Rectangle(1, 2, 3, 4));
552
graphics1.
AddRectangle
(new Rectangle(1, 2, 3, 4));
555
graphics2.
AddRectangle
(new Rectangle(1, 2, 3, 4));
558
graphics3.
AddRectangle
(new Rectangle(2, 2, 3, 4));
561
graphics4.
AddRectangle
(new Rectangle(1, 3, 3, 4));
564
graphics5.
AddRectangle
(new Rectangle(1, 2, 4, 4));
567
graphics6.
AddRectangle
(new Rectangle(1, 2, 3, 5));