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);
2081
path.
PathPoints
.Should().HaveCount(2);
2085
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2097
path.
PathPoints
.Should().HaveCount(4);
2101
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2114
path.
PathPoints
.Should().HaveCount(4);
2118
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2130
path.
PathPoints
.Should().HaveCount(4);
2134
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2140
path.
PathPoints
.Should().HaveCount(10);
2155
path.
PathPoints
.Should().HaveCount(4);
2156
path.
PathPoints
.Should().HaveCount(4);
2160
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2166
path.
PathPoints
.Should().HaveCount(13);
2182
path.
PathPoints
.Should().HaveCount(5);
2186
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2199
path.
PathPoints
.Should().HaveCount(3);
2203
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, Delta);
2221
Assert.Equal(float.NaN, path.
PathPoints
[0].X);
2222
Assert.Equal(float.NaN, path.
PathPoints
[0].Y);
2223
Assert.Equal(float.NaN, path.
PathPoints
[1].X);
2224
Assert.Equal(float.NaN, path.
PathPoints
[1].Y);
2225
Assert.Equal(float.NaN, path.
PathPoints
[2].X);
2226
Assert.Equal(float.NaN, path.
PathPoints
[2].Y);
2241
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(expectedPoints, precision: 0.25f);
2337
PointF[] reversedPoints = gp.
PathPoints
;
2356
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(
2387
path.
PathPoints
.Should().BeApproximatelyEquivalentTo(