103 references to PathTypes
System.Drawing.Common.Tests (103)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (2)
249
Assert.Equal(gp.
PathTypes
, actualTypes);
359
Assert.Equal(gp.
PathTypes
[0], actualTypes[0]);
System\Drawing\Drawing2D\GraphicsPathTests.cs (101)
181
Assert.Equal(0, gp.
PathTypes
[0]);
183
gp.
PathTypes
[0] = 1;
184
Assert.Equal(0, gp.
PathTypes
[0]);
191
gp.
PathTypes
.Should().BeEmpty();
235
Assert.Equal(new byte[] { 0, 1, 1 }, gpi.
PathTypes
);
239
Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpi.
PathTypes
);
244
Assert.Equal(new byte[] { 0, 1, 1 }, gpf.
PathTypes
);
248
Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpf.
PathTypes
);
270
Assert.Equal(0, gpi.
PathTypes
[0]);
274
Assert.Equal(0, gpf.
PathTypes
[0]);
293
Assert.Equal(new byte[] { 0, 1 }, gpi.
PathTypes
);
297
Assert.Equal(new byte[] { 0, 1, 1 }, gpi.
PathTypes
);
301
Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpi.
PathTypes
);
305
Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpf.
PathTypes
);
309
Assert.Equal(new byte[] { 0, 1, 1, 1, 1, 1, 1 }, gpf.
PathTypes
);
384
Assert.Equal(new byte[] { 0, 3, 3, 3 }, gp.
PathTypes
);
388
Assert.Equal(new byte[] { 0, 3, 3, 3, 3, 3, 3 }, gp.
PathTypes
);
392
Assert.Equal(new byte[] { 0, 3, 3, 3 }, gpf.
PathTypes
);
396
Assert.Equal(new byte[] { 0, 3, 3, 3, 3, 3, 3 }, gpf.
PathTypes
);
551
gp.
PathTypes
.Should().BeEquivalentTo(expectedTypes);
720
Assert.Equal(new byte[] { 0, 1, 1, 129 }, gpi.
PathTypes
);
726
Assert.Equal(new byte[] { 0, 1, 1, 129, 0, 1, 1, 129 }, gpi.
PathTypes
);
730
Assert.Equal(new byte[] { 0, 1, 1, 129 }, gpf.
PathTypes
);
731
Assert.Equal(129, gpf.
PathTypes
[3]);
737
Assert.Equal(new byte[] { 0, 1, 1, 129, 0, 1, 1, 129 }, gpf.
PathTypes
);
765
Assert.Equal(8, gpi.
PathTypes
.Length);
770
Assert.Equal(8, gpf.
PathTypes
.Length);
793
Assert.Equal(8, gpi.
PathTypes
.Length);
798
Assert.Equal(8, gpf.
PathTypes
.Length);
904
Assert.Equal(new byte[] { 0, 1, 129 }, gpi.
PathTypes
);
908
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129 }, gpi.
PathTypes
);
912
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpi.
PathTypes
);
916
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpi.
PathTypes
);
920
Assert.Equal(new byte[] { 0, 1, 129 }, gpf.
PathTypes
);
924
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129 }, gpf.
PathTypes
);
928
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpf.
PathTypes
);
932
Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpf.
PathTypes
);
1095
Assert.Equal(new byte[] { 0, 1, 1, 129 }, gp.
PathTypes
);
1332
Assert.Equal(1, gp.
PathTypes
[1]);
1335
Assert.Equal(33, gp.
PathTypes
[1]);
1343
Assert.Equal(1, gp.
PathTypes
[1]);
1346
Assert.Equal(33, gp.
PathTypes
[1]);
1349
Assert.Equal(1, gp.
PathTypes
[1]);
1364
Assert.Equal(1, gp.
PathTypes
[1]);
1367
Assert.Equal(129, gp.
PathTypes
[1]);
1384
Assert.Equal(1, gp.
PathTypes
[1]);
1385
Assert.Equal(1, gp.
PathTypes
[3]);
1388
Assert.Equal(129, gp.
PathTypes
[1]);
1389
Assert.Equal(129, gp.
PathTypes
[3]);
1406
byte[] types = gp.
PathTypes
;
1421
byte[] types = gp.
PathTypes
;
1442
byte[] types = gp.
PathTypes
;
1457
byte[] types = gp.
PathTypes
;
1473
byte[] types = path.
PathTypes
;
1488
byte[] types = gp.
PathTypes
;
1504
byte[] types = path.
PathTypes
;
1519
byte[] types = gp.
PathTypes
;
1536
byte[] types = gp.
PathTypes
;
1553
byte[] types = path.
PathTypes
;
1568
byte[] types = path.
PathTypes
;
1585
byte[] types = gp.
PathTypes
;
1601
byte[] types = gp.
PathTypes
;
1622
byte[] types = gp.
PathTypes
;
1638
byte[] types = gp.
PathTypes
;
1667
gp.
PathTypes
.Should().BeEquivalentTo(expectedTypes);
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
);
2058
byte[] actualTypes = path.
PathTypes
;
2082
path.
PathTypes
.Should().HaveCount(2);
2086
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 1 });
2098
path.
PathTypes
.Should().HaveCount(4);
2102
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 3, 3, 3 });
2115
path.
PathTypes
.Should().HaveCount(4);
2119
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 3, 3, 3 });
2131
path.
PathTypes
.Should().HaveCount(4);
2135
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 3, 3, 3 });
2141
path.
PathTypes
.Should().HaveCount(10);
2144
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 3, 3, 3, 3, 3, 3, 3, 3, 131 });
2157
path.
PathTypes
.Should().HaveCount(4);
2161
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 1, 1, 129 });
2167
path.
PathTypes
.Should().HaveCount(13);
2170
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 131 });
2183
path.
PathTypes
.Should().HaveCount(5);
2187
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 1, 3, 3, 131 });
2200
path.
PathTypes
.Should().HaveCount(3);
2204
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 1, 129 });
2212
flat.
PathTypes
[i].Should().NotBe(3);
2227
Assert.Equal(expectedTypes, path.
PathTypes
);
2242
path.
PathTypes
.Should().BeEquivalentTo(new byte[] { 0, 1, 129, 0, 1, 1, 1, 1, 129 });
2338
byte[] reversedTypes = gp.
PathTypes
;
2342
Assert.Equal(expectedTypes, gp.
PathTypes
);