65 references to PathPoints
System.Drawing.Common.Tests (65)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (2)
248Assert.Equal(gp.PathPoints, actualPoints); 358Assert.Equal(gp.PathPoints[0], actualPoints[0]);
System\Drawing\Drawing2D\GraphicsPathTests.cs (63)
161Assert.Equal(1f, gp.PathPoints[0].X); 162Assert.Equal(1f, gp.PathPoints[0].Y); 164gp.PathPoints[0] = new Point(0, 0); 165Assert.Equal(1f, gp.PathPoints[0].X); 166Assert.Equal(1f, gp.PathPoints[0].Y); 173gp.PathPoints.Should().BeEmpty(); 550gp.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 722PointF endI = gpi.PathPoints[3]; 733PointF endF = gpf.PathPoints[3]; 764Assert.Equal(8, gpi.PathPoints.Length); 769Assert.Equal(8, gpf.PathPoints.Length); 792Assert.Equal(8, gpi.PathPoints.Length); 797Assert.Equal(8, gpf.PathPoints.Length); 1022int gpiLengthOld = gpi.PathPoints.Length; 1029int pgfLengthOld = gpf.PathPoints.Length; 1094Assert.Equal([new(6f, 6f), new(8f, 8f), new(12f, 12f), new(10f, 10f)], gp.PathPoints); 1666gp.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 1834AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1842AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1863AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1872AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1881AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1889AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1897AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1906AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1915AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1924AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1932AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1941AssertReverse(gp, gp.PathPoints, gp.PathTypes); 1950AssertReverse(gp, gp.PathPoints, expectedTypes); 1962AssertReverse(gp, gp.PathPoints, expectedTypes); 1972AssertReverse(gp, gp.PathPoints, expectedTypes); 1999AssertReverse(gp, gp.PathPoints, expectedTypes); 2009AssertReverse(gp, gp.PathPoints, expectedTypes); 2023AssertReverse(gp, gp.PathPoints, expectedTypes); 2034AssertReverse(gp, gp.PathPoints, expectedTypes); 2081path.PathPoints.Should().HaveCount(2); 2085path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2097path.PathPoints.Should().HaveCount(4); 2101path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2114path.PathPoints.Should().HaveCount(4); 2118path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2130path.PathPoints.Should().HaveCount(4); 2134path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2140path.PathPoints.Should().HaveCount(10); 2155path.PathPoints.Should().HaveCount(4); 2156path.PathPoints.Should().HaveCount(4); 2160path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2166path.PathPoints.Should().HaveCount(13); 2182path.PathPoints.Should().HaveCount(5); 2186path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2199path.PathPoints.Should().HaveCount(3); 2203path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta); 2221Assert.Equal(float.NaN, path.PathPoints[0].X); 2222Assert.Equal(float.NaN, path.PathPoints[0].Y); 2223Assert.Equal(float.NaN, path.PathPoints[1].X); 2224Assert.Equal(float.NaN, path.PathPoints[1].Y); 2225Assert.Equal(float.NaN, path.PathPoints[2].X); 2226Assert.Equal(float.NaN, path.PathPoints[2].Y); 2241path.PathPoints.Should().BeApproximatelyEquivalentTo(expectedPoints, precision: 0.25f); 2337PointF[] reversedPoints = gp.PathPoints; 2356path.PathPoints.Should().BeApproximatelyEquivalentTo( 2387path.PathPoints.Should().BeApproximatelyEquivalentTo(