307 instantiations of GraphicsPath
System.Drawing.Common.Tests (306)
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 (24)
37using GraphicsPath gp = new(_twoPoints, types); 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(); 192using GraphicsPath gp = new(points, types); 193using GraphicsPath gpEmpty = new(); 205using GraphicsPath gp = new(); 206using GraphicsPath inner = new(); 229using GraphicsPath gp = new(); 245using GraphicsPath gp = new(points, types); 262using GraphicsPath gp = new(); 270using GraphicsPath gp = new(); 291using GraphicsPath gp = new(); 300using GraphicsPath gp = new(); 309using GraphicsPath gp = new(); 322using GraphicsPath gp = new(); 341using GraphicsPath gp = new(points, types); 355using GraphicsPath gp = new(points, types); 371using GraphicsPath gp = new(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (204)
36using GraphicsPath gp = new(); 44using GraphicsPath gpa = new(FillMode.Alternate); 45using GraphicsPath gpw = new(FillMode.Winding); 66using GraphicsPath gp = new(points, types); 67using GraphicsPath gpf = new(fPoints, types); 82AssertExtensions.Throws<ArgumentNullException>("pts", () => new GraphicsPath((Point[])null, new byte[1])); 95AssertExtensions.Throws<ArgumentException>(null, () => new GraphicsPath(new Point[pointsLength], new byte[typesLength])); 96AssertExtensions.Throws<ArgumentException>(null, () => new GraphicsPath(new PointF[pointsLength], new byte[typesLength])); 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(); 202using GraphicsPath gp = new(points, types); 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()) 2056using GraphicsPath path = new(expectedPoints, expectedTypes); 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();
370 references to GraphicsPath
System.Drawing (1)
System.Drawing.cs (1)
33[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsPath))]
System.Drawing.Common (25)
Special\NotSupported.cs (25)
530public void DrawPath(System.Drawing.Pen pen, System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 597public void FillPath(System.Drawing.Brush brush, System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 665public void SetClip(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 666public void SetClip(System.Drawing.Drawing2D.GraphicsPath path, System.Drawing.Drawing2D.CombineMode combineMode) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1028public Region(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1033public void Complement(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1039public void Exclude(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1049public void Intersect(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1076public void Union(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1080public void Xor(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1390public AdjustableArrowCap(float width, float height) : base (default(System.Drawing.Drawing2D.GraphicsPath), default(System.Drawing.Drawing2D.GraphicsPath)) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1391public AdjustableArrowCap(float width, float height, bool isFilled) : base (default(System.Drawing.Drawing2D.GraphicsPath), default(System.Drawing.Drawing2D.GraphicsPath)) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1449public CustomLineCap(System.Drawing.Drawing2D.GraphicsPath? fillPath, System.Drawing.Drawing2D.GraphicsPath? strokePath) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1450public CustomLineCap(System.Drawing.Drawing2D.GraphicsPath? fillPath, System.Drawing.Drawing2D.GraphicsPath? strokePath, System.Drawing.Drawing2D.LineCap baseCap) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1451public CustomLineCap(System.Drawing.Drawing2D.GraphicsPath? fillPath, System.Drawing.Drawing2D.GraphicsPath? strokePath, System.Drawing.Drawing2D.LineCap baseCap, float baseInset) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1541public void AddPath(System.Drawing.Drawing2D.GraphicsPath addingPath, bool connect) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1600public GraphicsPathIterator(System.Drawing.Drawing2D.GraphicsPath? path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1608public int NextMarker(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1611public int NextSubpath(System.Drawing.Drawing2D.GraphicsPath path, out bool isClosed) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1820public PathGradientBrush(System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (343)
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 (16)
21GraphicsPath strokePath = new(); 33GraphicsPath fillPath = new(); 42public void Ctor_Path_Path_LineCap_Float(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset, LineCap expectedCap) 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 (29)
37using GraphicsPath gp = new(_twoPoints, types); 45using GraphicsPath gp = new(); 60using GraphicsPath gp = new(); 70using GraphicsPath gp = new(_twoPoints, [0, 129]); 87using GraphicsPath gp = new(); 99using GraphicsPath gp = new(_twoPoints, [0, 129]); 110using GraphicsPath gp = new(_twoPoints, [0, 1]); 120using GraphicsPath gp = new(); 131using GraphicsPath gp = new(); 140using GraphicsPath gp = new(); 149using GraphicsPath gp = new(_twoPoints, [0, 1]); 157using GraphicsPath gp = new(_twoPoints, [0, 1]); 158using GraphicsPath gpEmpty = new(); 170using GraphicsPath gp = new(); 192using GraphicsPath gp = new(points, types); 193using GraphicsPath gpEmpty = new(); 205using GraphicsPath gp = new(); 206using GraphicsPath inner = new(); 229using GraphicsPath gp = new(); 245using GraphicsPath gp = new(points, types); 262using GraphicsPath gp = new(); 270using GraphicsPath gp = new(); 291using GraphicsPath gp = new(); 300using GraphicsPath gp = new(); 309using GraphicsPath gp = new(); 322using GraphicsPath gp = new(); 341using GraphicsPath gp = new(points, types); 355using GraphicsPath gp = new(points, types); 371using GraphicsPath gp = new(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (233)
36using GraphicsPath gp = new(); 44using GraphicsPath gpa = new(FillMode.Alternate); 45using GraphicsPath gpw = new(FillMode.Winding); 66using GraphicsPath gp = new(points, types); 67using GraphicsPath gpf = new(fPoints, types); 102using GraphicsPath gp = new(); 103using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 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(); 202using GraphicsPath gp = new(points, types); 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(); 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(); 954using GraphicsPath gp = new(); 969using GraphicsPath gp = new(); 976using GraphicsPath inner = new(); 977using GraphicsPath gp = new(); 986using GraphicsPath gp = new(); 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(); 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(); 1149using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1157using GraphicsPath gp = new(); 1158using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1166using GraphicsPath gp = new(); 1167using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1175using GraphicsPath gp = new(); 1176using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1185using GraphicsPath gp = new(); 1186using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1195using GraphicsPath gp = new(); 1196using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1210using GraphicsPath gp = new(); 1211using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1225using GraphicsPath gp = new(); 1226using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1235using GraphicsPath gp = new(); 1236using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1245using GraphicsPath gp = new(); 1246using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1255using GraphicsPath gp = new(); 1256using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1270using GraphicsPath gp = new(); 1271using GraphicsPath clone = Assert.IsType<GraphicsPath>(gp.Clone()); 1280using GraphicsPath gp = new(); 1287using GraphicsPath gp = new(); 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()) 2056using GraphicsPath path = new(expectedPoints, expectedTypes); 2062private static void AssertEmptyGraphicsPath(GraphicsPath gp) 2074private static void AssertLine(GraphicsPath path) 2089private static void AssertArc(GraphicsPath path) 2105private static void AssertBezier(GraphicsPath path) 2122private static void AssertCurve(GraphicsPath path) 2138private static void AssertClosedCurve(GraphicsPath path) 2147private static void AssertRectangle(GraphicsPath path) 2164private static void AssertEllipse(GraphicsPath path) 2173private static void AssertPie(GraphicsPath path) 2190private static void AssertPolygon(GraphicsPath path) 2207private static void AssertFlats(GraphicsPath flat, GraphicsPath original) 2216private static void AssertWrapNaN(GraphicsPath path) 2230private static void AssertWiden3(GraphicsPath path) 2247using GraphicsPath gp = new(); 2276using GraphicsPath gp = new(); 2303using GraphicsPath gp = new(); 2324using GraphicsPath gp = new(); 2334private static void AssertReverse(GraphicsPath gp, PointF[] expectedPoints, byte[] expectedTypes) 2354using GraphicsPath path = new(); 2385using GraphicsPath path = new();
System\Drawing\Drawing2D\PathGradientBrushTests.cs (4)
97using GraphicsPath path = new(_defaultFloatPoints, [0, 1]); 106AssertExtensions.Throws<ArgumentNullException>("path", () => new PathGradientBrush((GraphicsPath)null)); 112using GraphicsPath path = new(); 121using GraphicsPath path = new(_defaultFloatPoints, [0, 1]);
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 (40)
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(); 222public void Ctor_InfiniteGraphicsPath_IsInfinite(GraphicsPath path, bool isInfinite) 234using GraphicsPath path = new(); 245AssertExtensions.Throws<ArgumentNullException>("path", () => new Region((GraphicsPath)null)); 251GraphicsPath path = new(); 462using GraphicsPath path = new(); 500using GraphicsPath graphicsPath = new(); 509AssertExtensions.Throws<ArgumentNullException>("path", () => region.Complement((GraphicsPath)null)); 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(); 892AssertExtensions.Throws<ArgumentNullException>("path", () => region.Exclude((GraphicsPath)null)); 900using GraphicsPath graphicsPath = new(); 1226using GraphicsPath path = new(); 1240using GraphicsPath graphicsPath = new(); 1249AssertExtensions.Throws<ArgumentNullException>("path", () => region.Intersect((GraphicsPath)null)); 1257using GraphicsPath graphicsPath = new(); 1765using GraphicsPath path = new(); 1779using GraphicsPath graphicsPath = new(); 1788AssertExtensions.Throws<ArgumentNullException>("path", () => region.Union((GraphicsPath)null)); 1796using GraphicsPath graphicsPath = new(); 2123using GraphicsPath path = new(); 2137using GraphicsPath graphicsPath = new(); 2146AssertExtensions.Throws<ArgumentNullException>("path", () => region.Xor((GraphicsPath)null)); 2154using GraphicsPath graphicsPath = new();
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
94GraphicsPath path = new();