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