System\Drawing\Drawing2D\GraphicsPathTests.cs (28)
332gpi.AddArc(1, 1, 2, 2, Pi4, Pi4);
337gpf.AddArc(1f, 1f, 2f, 2f, Pi4, Pi4);
346gpi.AddArc(new Rectangle(1, 1, 2, 2), Pi4, Pi4);
349gpf.AddArc(new RectangleF(1, 1, 2, 2), Pi4, Pi4);
360AssertExtensions.Throws<ArgumentException>(null, () => gp.AddArc(1, 1, width, height, Pi4, Pi4));
361AssertExtensions.Throws<ArgumentException>(null, () => gp.AddArc(1.0f, 1.0f, width, height, Pi4, Pi4));
854gpi.AddPie(new Rectangle(1, 1, 2, 2), Pi4, Pi4);
865gpi.AddPie(1, 1, 2, 2, Pi4, Pi4);
868gpf.AddPie(1f, 1f, 2f, 2f, Pi4, Pi4);
879AssertExtensions.Throws<ArgumentException>(null, () => gp.AddPie(1, 1, height, width, Pi4, Pi4));
880AssertExtensions.Throws<ArgumentException>(null, () => gp.AddPie(1f, 1f, height, width, Pi4, Pi4));
881AssertExtensions.Throws<ArgumentException>(null, () => gp.AddPie(new Rectangle(1, 1, height, width), Pi4, Pi4));
1833gp.AddArc(1f, 1f, 2f, 2f, Pi4, Pi4);
1958inner.AddArc(1f, 1f, 2f, 2f, Pi4, Pi4);