65 references to PathPoints
System.Drawing.Common.Tests (65)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (2)
248
Assert.Equal(gp.
PathPoints
, actualPoints);
358
Assert.Equal(gp.
PathPoints
[0], actualPoints[0]);
System\Drawing\Drawing2D\GraphicsPathTests.cs (63)
161
Assert.Equal(1f, gp.
PathPoints
[0].X);
162
Assert.Equal(1f, gp.
PathPoints
[0].Y);
164
gp.
PathPoints
[0] = new Point(0, 0);
165
Assert.Equal(1f, gp.
PathPoints
[0].X);
166
Assert.Equal(1f, gp.
PathPoints
[0].Y);
173
gp.
PathPoints
.Should().BeEmpty();
550
gp.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
722
PointF endI = gpi.
PathPoints
[3];
733
PointF endF = gpf.
PathPoints
[3];
764
Assert.Equal(8, gpi.
PathPoints
.Length);
769
Assert.Equal(8, gpf.
PathPoints
.Length);
792
Assert.Equal(8, gpi.
PathPoints
.Length);
797
Assert.Equal(8, gpf.
PathPoints
.Length);
1022
int gpiLengthOld = gpi.
PathPoints
.Length;
1029
int pgfLengthOld = gpf.
PathPoints
.Length;
1094
Assert.Equal([new(6f, 6f), new(8f, 8f), new(12f, 12f), new(10f, 10f)], gp.
PathPoints
);
1666
gp.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
1834
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1842
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1863
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1872
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1881
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1889
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1897
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1906
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1915
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1924
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1932
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1941
AssertReverse(gp, gp.
PathPoints
, gp.PathTypes);
1950
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
1962
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
1972
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
1999
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
2009
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
2023
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
2034
AssertReverse(gp, gp.
PathPoints
, expectedTypes);
2076
path.
PathPoints
.Should().HaveCount(2);
2080
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2092
path.
PathPoints
.Should().HaveCount(4);
2096
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2109
path.
PathPoints
.Should().HaveCount(4);
2113
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2125
path.
PathPoints
.Should().HaveCount(4);
2129
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2135
path.
PathPoints
.Should().HaveCount(10);
2150
path.
PathPoints
.Should().HaveCount(4);
2151
path.
PathPoints
.Should().HaveCount(4);
2155
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2161
path.
PathPoints
.Should().HaveCount(13);
2177
path.
PathPoints
.Should().HaveCount(5);
2181
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2194
path.
PathPoints
.Should().HaveCount(3);
2198
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2216
Assert.Equal(float.NaN, path.
PathPoints
[0].X);
2217
Assert.Equal(float.NaN, path.
PathPoints
[0].Y);
2218
Assert.Equal(float.NaN, path.
PathPoints
[1].X);
2219
Assert.Equal(float.NaN, path.
PathPoints
[1].Y);
2220
Assert.Equal(float.NaN, path.
PathPoints
[2].X);
2221
Assert.Equal(float.NaN, path.
PathPoints
[2].Y);
2236
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, precision: 0.25f);
2332
PointF[] reversedPoints = gp.
PathPoints
;
2351
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(
2382
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(