292 references to GraphicsPath
System.Drawing.Common.Tests (291)
mono\System.Drawing\GraphicsTests.cs (4)
2856using GraphicsPath path = new(); 2873using GraphicsPath path = new(); 2898using GraphicsPath path = new(); 2915using GraphicsPath path = new();
System\Drawing\Drawing2D\CustomLineCapTests.cs (23)
10yield return new object[] { new GraphicsPath(), null, LineCap.Flat, 0f, LineCap.Flat }; 11yield return new object[] { new GraphicsPath(), null, LineCap.Square, 1f, LineCap.Square }; 12yield return new object[] { new GraphicsPath(), null, LineCap.Round, -1f, LineCap.Round }; 13yield return new object[] { new GraphicsPath(), null, LineCap.Triangle, float.MaxValue, LineCap.Triangle }; 15yield return new object[] { new GraphicsPath(), null, LineCap.NoAnchor, 0f, LineCap.Flat }; 16yield return new object[] { new GraphicsPath(), null, LineCap.SquareAnchor, 0f, LineCap.Flat }; 17yield return new object[] { new GraphicsPath(), null, LineCap.DiamondAnchor, 0f, LineCap.Flat }; 18yield return new object[] { new GraphicsPath(), null, LineCap.ArrowAnchor, 0f, LineCap.Flat }; 21GraphicsPath strokePath = new(); 26strokePath = new GraphicsPath(); 33GraphicsPath fillPath = new(); 61using GraphicsPath fillPath = new(); 62using GraphicsPath strokePath = new(); 70using GraphicsPath fillPath = new(); 79using GraphicsPath fillPath = new(); 92using GraphicsPath strokePath = new(); 110using GraphicsPath strokePath = new(); 130using GraphicsPath strokePath = new(); 143using GraphicsPath strokePath = new(); 159using GraphicsPath strokePath = new(); 180using GraphicsPath strokePath = new(); 201using GraphicsPath strokePath = new(); 210using GraphicsPath strokePath = new();
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (18)
45using GraphicsPath gp = new(); 60using GraphicsPath gp = new(); 87using GraphicsPath gp = new(); 120using GraphicsPath gp = new(); 131using GraphicsPath gp = new(); 140using GraphicsPath gp = new(); 158using GraphicsPath gpEmpty = new(); 170using GraphicsPath gp = new(); 193using GraphicsPath gpEmpty = new(); 205using GraphicsPath gp = new(); 206using GraphicsPath inner = new(); 229using GraphicsPath gp = new(); 262using GraphicsPath gp = new(); 270using GraphicsPath gp = new(); 291using GraphicsPath gp = new(); 300using GraphicsPath gp = new(); 309using GraphicsPath gp = new(); 322using GraphicsPath gp = new();
System\Drawing\Drawing2D\GraphicsPathTests.cs (195)
36using GraphicsPath gp = new(); 102using GraphicsPath gp = new(); 111using GraphicsPath gp = new(); 121using GraphicsPath gp = new(); 131using GraphicsPath gp = new(); 138using GraphicsPath gp = new(); 146using GraphicsPath gp = new(); 159using GraphicsPath gp = new(); 172using GraphicsPath gp = new(); 179using GraphicsPath gp = new(); 190using GraphicsPath gp = new(); 209using GraphicsPath gpInt = new(); 210using GraphicsPath gpFloat = new(); 211using GraphicsPath gpPointsInt = new(); 212using GraphicsPath gpfPointsloat = new(); 230using GraphicsPath gpi = new(); 231using GraphicsPath gpf = new(); 254using GraphicsPath gpi = new(); 255using GraphicsPath gpf = new(); 266using GraphicsPath gpi = new(); 267using GraphicsPath gpf = new(); 289using GraphicsPath gpi = new(); 290using GraphicsPath gpf = new(); 315using GraphicsPath gp = new(); 316AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().AddLines((Point[])null)); 317AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().AddLines((PointF[])null)); 323AssertExtensions.Throws<ArgumentException>("points", null, () => new GraphicsPath().AddLines(Array.Empty<Point>())); 324AssertExtensions.Throws<ArgumentException>("points", null, () => new GraphicsPath().AddLines(Array.Empty<PointF>())); 330using GraphicsPath gpi = new(); 331using GraphicsPath gpf = new(); 344using GraphicsPath gpi = new(); 345using GraphicsPath gpf = new(); 359using GraphicsPath gp = new(); 367using GraphicsPath gpi = new(); 368using GraphicsPath gpf = new(); 380using GraphicsPath gp = new(); 381using GraphicsPath gpf = new(); 402using GraphicsPath gpi = new(); 403using GraphicsPath gpf = new(); 418using GraphicsPath gpf = new(); 426using GraphicsPath gp = new(); 443using GraphicsPath gp = new(); 453using GraphicsPath gpi = new(); 454using GraphicsPath gpf = new(); 469using GraphicsPath gpi = new(); 470using GraphicsPath gpf = new(); 484using GraphicsPath gpi = new(); 485using GraphicsPath gpf = new(); 503using GraphicsPath gpi = new(); 504using GraphicsPath gpf = new(); 543using GraphicsPath gp = new(); 557using GraphicsPath gp = new(); 572using GraphicsPath gp = new(); 587using GraphicsPath gp = new(); 602using GraphicsPath gp = new(); 613using GraphicsPath gp = new(); 624using GraphicsPath gpi = new(); 625using GraphicsPath gpf = new(); 637using GraphicsPath gpi = new(); 638using GraphicsPath gpf = new(); 653using GraphicsPath gpi = new(); 654using GraphicsPath gpf = new(); 665using GraphicsPath gp = new(); 681using GraphicsPath gp = new(); 696using GraphicsPath gp = new(); 703using GraphicsPath gpi = new(); 704using GraphicsPath gpf = new(); 716using GraphicsPath gpi = new(); 717using GraphicsPath gpf = new(); 746using GraphicsPath gpi = new(); 747using GraphicsPath gpf = new(); 761using GraphicsPath gpi = new(); 762using GraphicsPath gpf = new(); 789using GraphicsPath gpi = new(); 790using GraphicsPath gpf = new(); 805using GraphicsPath gp = new(); 813using GraphicsPath gpi = new(); 814using GraphicsPath gpf = new(); 826using GraphicsPath gpi = new(); 827using GraphicsPath gpf = new(); 841using GraphicsPath gpi = new(); 842using GraphicsPath gpf = new(); 853using GraphicsPath gpi = new(); 863using GraphicsPath gpi = new(); 864using GraphicsPath gpf = new(); 878using GraphicsPath gp = new(); 887using GraphicsPath gpi = new(); 888using GraphicsPath gpf = new(); 900using GraphicsPath gpi = new(); 901using GraphicsPath gpf = new(); 938using GraphicsPath gp = new(); 939AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().AddPolygon((Point[])null)); 940AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().AddPolygon((PointF[])null)); 954using GraphicsPath gp = new(); 969using GraphicsPath gp = new(); 976using GraphicsPath inner = new(); 977using GraphicsPath gp = new(); 986using GraphicsPath gp = new(); 987AssertExtensions.Throws<ArgumentNullException>("addingPath", () => new GraphicsPath().AddPath(null, false)); 993using GraphicsPath gpi = new(); 994using GraphicsPath gpf = new(); 1005using GraphicsPath gpi = new(); 1006using GraphicsPath gpf = new(); 1017using GraphicsPath gpi = new(); 1018using GraphicsPath gpf = new(); 1037using GraphicsPath gp1 = new(); 1038using GraphicsPath gp2 = new(); 1039using GraphicsPath gp3 = new(); 1053using GraphicsPath gpi = new(); 1054using GraphicsPath gpf = new(); 1065using GraphicsPath gp = new(); 1079using GraphicsPath gp = new(); 1081new GraphicsPath().AddString("mono", null, 0, 10, new Point(10, 10), StringFormat.GenericDefault)); 1087using GraphicsPath gp = new(); 1101using GraphicsPath gp = new(); 1111using GraphicsPath gp = new(); 1118using GraphicsPath gp = new(); 1125using GraphicsPath gp = new(); 1138using GraphicsPath gp = new(); 1148using GraphicsPath gp = new(); 1157using GraphicsPath gp = new(); 1166using GraphicsPath gp = new(); 1175using GraphicsPath gp = new(); 1185using GraphicsPath gp = new(); 1195using GraphicsPath gp = new(); 1210using GraphicsPath gp = new(); 1225using GraphicsPath gp = new(); 1235using GraphicsPath gp = new(); 1245using GraphicsPath gp = new(); 1255using GraphicsPath gp = new(); 1270using GraphicsPath gp = new(); 1280using GraphicsPath gp = new(); 1287using GraphicsPath gp = new(); 1288AssertExtensions.Throws<ArgumentException>(null, () => new GraphicsPath().Warp([], default)); 1294using GraphicsPath gp = new(); 1304using GraphicsPath gp = new(); 1314using GraphicsPath gp = new(); 1323using GraphicsPath gp = new(); 1330using GraphicsPath gp = new(); 1341using GraphicsPath gp = new(); 1355using GraphicsPath gp = new(); 1362using GraphicsPath gp = new(); 1373using GraphicsPath gp = new(); 1380using GraphicsPath gp = new(); 1395using GraphicsPath gp = new(); 1402using GraphicsPath gp = new(); 1417using GraphicsPath gp = new(); 1432using GraphicsPath gp = new(); 1453using GraphicsPath gp = new(); 1469using GraphicsPath path = new(); 1484using GraphicsPath gp = new(); 1500using GraphicsPath path = new(); 1515using GraphicsPath gp = new(); 1530using GraphicsPath gp = new(); 1531using GraphicsPath inner = new(); 1547using GraphicsPath inner = new(); 1548using GraphicsPath path = new(); 1564using GraphicsPath path = new(); 1581using GraphicsPath gp = new(); 1597using GraphicsPath gp = new(); 1613using GraphicsPath gp = new(); 1634using GraphicsPath gp = new(); 1660using GraphicsPath gp = new(); 1673using GraphicsPath gp = new(); 1683using GraphicsPath gp = new(); 1692using GraphicsPath gp = new(); 1703using GraphicsPath gp = new(); 1725using GraphicsPath gp = new(); 1738using GraphicsPath gp = new(); 1832using GraphicsPath gp = new(); 1840using GraphicsPath gp = new(); 1861using GraphicsPath gp = new(); 1870using GraphicsPath gp = new(); 1879using GraphicsPath gp = new(); 1887using GraphicsPath gp = new(); 1895using GraphicsPath gp = new(); 1903using GraphicsPath gp = new(); 1913using GraphicsPath gp = new(); 1922using GraphicsPath gp = new(); 1930using GraphicsPath gp = new(); 1938using GraphicsPath gp = new(); 1947using GraphicsPath gp = new(); 1956using GraphicsPath inner = new(); 1957using GraphicsPath gp = new(); 1968using GraphicsPath gp = new(); 1978using GraphicsPath gp = new(); 2005using GraphicsPath gp = new(); 2015using (GraphicsPath gp = new()) 2026using (GraphicsPath gp = new()) 2247using GraphicsPath gp = new(); 2276using GraphicsPath gp = new(); 2303using GraphicsPath gp = new(); 2324using GraphicsPath gp = new(); 2354using GraphicsPath path = new(); 2385using GraphicsPath path = new();
System\Drawing\Drawing2D\PathGradientBrushTests.cs (1)
112using GraphicsPath path = new();
System\Drawing\GraphicsTests.cs (5)
2384using GraphicsPath graphicsPath = new(); 2393using GraphicsPath graphicsPath = new(); 2415GraphicsPath graphicsPath = new(); 2427using GraphicsPath graphicsPath = new(); 2444using GraphicsPath graphicsPath = new();
System\Drawing\PenTests.cs (12)
368using GraphicsPath fillPath = new(); 369using GraphicsPath strokePath = new(); 393using GraphicsPath fillPath = new(); 394using GraphicsPath strokePath = new(); 405using GraphicsPath fillPath = new(); 406using GraphicsPath strokePath = new(); 420using GraphicsPath fillPath = new(); 421using GraphicsPath strokePath = new(); 445using GraphicsPath fillPath = new(); 446using GraphicsPath strokePath = new(); 457using GraphicsPath fillPath = new(); 458using GraphicsPath strokePath = new();
System\Drawing\RegionTests.cs (33)
103using GraphicsPath graphicsPath = new(); 148using GraphicsPath graphicsPath = new(); 166using GraphicsPath graphicsPath = new(); 184using GraphicsPath graphicsPath = new(); 193GraphicsPath path1 = new(); 197GraphicsPath path2 = new(); 202GraphicsPath path3 = new(); 207GraphicsPath path4 = new(); 211GraphicsPath path5 = new(); 215GraphicsPath path6 = new(); 234using GraphicsPath path = new(); 251GraphicsPath path = new(); 462using GraphicsPath path = new(); 500using GraphicsPath graphicsPath = new(); 517using GraphicsPath graphicPath = new(); 551GraphicsPath graphics1 = new(); 554GraphicsPath graphics2 = new(); 557GraphicsPath graphics3 = new(); 560GraphicsPath graphics4 = new(); 563GraphicsPath graphics5 = new(); 566GraphicsPath graphics6 = new(); 869using GraphicsPath path = new(); 883using GraphicsPath graphicsPath = new(); 900using GraphicsPath graphicsPath = new(); 1226using GraphicsPath path = new(); 1240using GraphicsPath graphicsPath = new(); 1257using GraphicsPath graphicsPath = new(); 1765using GraphicsPath path = new(); 1779using GraphicsPath graphicsPath = new(); 1796using GraphicsPath graphicsPath = new(); 2123using GraphicsPath path = new(); 2137using GraphicsPath graphicsPath = new(); 2154using GraphicsPath graphicsPath = new();
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
94GraphicsPath path = new();