307 instantiations of GraphicsPath
System.Drawing.Common.Tests (306)
mono\System.Drawing\GraphicsTests.cs (4)
2856
using GraphicsPath path =
new
();
2873
using GraphicsPath path =
new
();
2898
using GraphicsPath path =
new
();
2915
using GraphicsPath path =
new
();
System\Drawing\Drawing2D\CustomLineCapTests.cs (23)
10
yield return new object[] { new
GraphicsPath
(), null, LineCap.Flat, 0f, LineCap.Flat };
11
yield return new object[] { new
GraphicsPath
(), null, LineCap.Square, 1f, LineCap.Square };
12
yield return new object[] { new
GraphicsPath
(), null, LineCap.Round, -1f, LineCap.Round };
13
yield return new object[] { new
GraphicsPath
(), null, LineCap.Triangle, float.MaxValue, LineCap.Triangle };
15
yield return new object[] { new
GraphicsPath
(), null, LineCap.NoAnchor, 0f, LineCap.Flat };
16
yield return new object[] { new
GraphicsPath
(), null, LineCap.SquareAnchor, 0f, LineCap.Flat };
17
yield return new object[] { new
GraphicsPath
(), null, LineCap.DiamondAnchor, 0f, LineCap.Flat };
18
yield return new object[] { new
GraphicsPath
(), null, LineCap.ArrowAnchor, 0f, LineCap.Flat };
21
GraphicsPath strokePath =
new
();
26
strokePath = new
GraphicsPath
();
33
GraphicsPath fillPath =
new
();
61
using GraphicsPath fillPath =
new
();
62
using GraphicsPath strokePath =
new
();
70
using GraphicsPath fillPath =
new
();
79
using GraphicsPath fillPath =
new
();
92
using GraphicsPath strokePath =
new
();
110
using GraphicsPath strokePath =
new
();
130
using GraphicsPath strokePath =
new
();
143
using GraphicsPath strokePath =
new
();
159
using GraphicsPath strokePath =
new
();
180
using GraphicsPath strokePath =
new
();
201
using GraphicsPath strokePath =
new
();
210
using GraphicsPath strokePath =
new
();
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (24)
37
using GraphicsPath gp =
new
(_twoPoints, types);
45
using GraphicsPath gp =
new
();
60
using GraphicsPath gp =
new
();
87
using GraphicsPath gp =
new
();
120
using GraphicsPath gp =
new
();
131
using GraphicsPath gp =
new
();
140
using GraphicsPath gp =
new
();
158
using GraphicsPath gpEmpty =
new
();
170
using GraphicsPath gp =
new
();
192
using GraphicsPath gp =
new
(points, types);
193
using GraphicsPath gpEmpty =
new
();
205
using GraphicsPath gp =
new
();
206
using GraphicsPath inner =
new
();
229
using GraphicsPath gp =
new
();
245
using GraphicsPath gp =
new
(points, types);
262
using GraphicsPath gp =
new
();
270
using GraphicsPath gp =
new
();
291
using GraphicsPath gp =
new
();
300
using GraphicsPath gp =
new
();
309
using GraphicsPath gp =
new
();
322
using GraphicsPath gp =
new
();
341
using GraphicsPath gp =
new
(points, types);
355
using GraphicsPath gp =
new
(points, types);
371
using GraphicsPath gp =
new
(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (204)
36
using GraphicsPath gp =
new
();
44
using GraphicsPath gpa =
new
(FillMode.Alternate);
45
using GraphicsPath gpw =
new
(FillMode.Winding);
66
using GraphicsPath gp =
new
(points, types);
67
using GraphicsPath gpf =
new
(fPoints, types);
82
AssertExtensions.Throws<ArgumentNullException>("pts", () => new
GraphicsPath
((Point[])null, new byte[1]));
95
AssertExtensions.Throws<ArgumentException>(null, () => new
GraphicsPath
(new Point[pointsLength], new byte[typesLength]));
96
AssertExtensions.Throws<ArgumentException>(null, () => new
GraphicsPath
(new PointF[pointsLength], new byte[typesLength]));
102
using GraphicsPath gp =
new
();
111
using GraphicsPath gp =
new
();
121
using GraphicsPath gp =
new
();
131
using GraphicsPath gp =
new
();
138
using GraphicsPath gp =
new
();
146
using GraphicsPath gp =
new
();
159
using GraphicsPath gp =
new
();
172
using GraphicsPath gp =
new
();
179
using GraphicsPath gp =
new
();
190
using GraphicsPath gp =
new
();
202
using GraphicsPath gp =
new
(points, types);
209
using GraphicsPath gpInt =
new
();
210
using GraphicsPath gpFloat =
new
();
211
using GraphicsPath gpPointsInt =
new
();
212
using GraphicsPath gpfPointsloat =
new
();
230
using GraphicsPath gpi =
new
();
231
using GraphicsPath gpf =
new
();
254
using GraphicsPath gpi =
new
();
255
using GraphicsPath gpf =
new
();
266
using GraphicsPath gpi =
new
();
267
using GraphicsPath gpf =
new
();
289
using GraphicsPath gpi =
new
();
290
using GraphicsPath gpf =
new
();
315
using GraphicsPath gp =
new
();
316
AssertExtensions.Throws<ArgumentNullException>("points", () => new
GraphicsPath
().AddLines((Point[])null));
317
AssertExtensions.Throws<ArgumentNullException>("points", () => new
GraphicsPath
().AddLines((PointF[])null));
323
AssertExtensions.Throws<ArgumentException>("points", null, () => new
GraphicsPath
().AddLines(Array.Empty<Point>()));
324
AssertExtensions.Throws<ArgumentException>("points", null, () => new
GraphicsPath
().AddLines(Array.Empty<PointF>()));
330
using GraphicsPath gpi =
new
();
331
using GraphicsPath gpf =
new
();
344
using GraphicsPath gpi =
new
();
345
using GraphicsPath gpf =
new
();
359
using GraphicsPath gp =
new
();
367
using GraphicsPath gpi =
new
();
368
using GraphicsPath gpf =
new
();
380
using GraphicsPath gp =
new
();
381
using GraphicsPath gpf =
new
();
402
using GraphicsPath gpi =
new
();
403
using GraphicsPath gpf =
new
();
418
using GraphicsPath gpf =
new
();
426
using GraphicsPath gp =
new
();
443
using GraphicsPath gp =
new
();
453
using GraphicsPath gpi =
new
();
454
using GraphicsPath gpf =
new
();
469
using GraphicsPath gpi =
new
();
470
using GraphicsPath gpf =
new
();
484
using GraphicsPath gpi =
new
();
485
using GraphicsPath gpf =
new
();
503
using GraphicsPath gpi =
new
();
504
using GraphicsPath gpf =
new
();
543
using GraphicsPath gp =
new
();
557
using GraphicsPath gp =
new
();
572
using GraphicsPath gp =
new
();
587
using GraphicsPath gp =
new
();
602
using GraphicsPath gp =
new
();
613
using GraphicsPath gp =
new
();
624
using GraphicsPath gpi =
new
();
625
using GraphicsPath gpf =
new
();
637
using GraphicsPath gpi =
new
();
638
using GraphicsPath gpf =
new
();
653
using GraphicsPath gpi =
new
();
654
using GraphicsPath gpf =
new
();
665
using GraphicsPath gp =
new
();
681
using GraphicsPath gp =
new
();
696
using GraphicsPath gp =
new
();
703
using GraphicsPath gpi =
new
();
704
using GraphicsPath gpf =
new
();
716
using GraphicsPath gpi =
new
();
717
using GraphicsPath gpf =
new
();
746
using GraphicsPath gpi =
new
();
747
using GraphicsPath gpf =
new
();
761
using GraphicsPath gpi =
new
();
762
using GraphicsPath gpf =
new
();
789
using GraphicsPath gpi =
new
();
790
using GraphicsPath gpf =
new
();
805
using GraphicsPath gp =
new
();
813
using GraphicsPath gpi =
new
();
814
using GraphicsPath gpf =
new
();
826
using GraphicsPath gpi =
new
();
827
using GraphicsPath gpf =
new
();
841
using GraphicsPath gpi =
new
();
842
using GraphicsPath gpf =
new
();
853
using GraphicsPath gpi =
new
();
863
using GraphicsPath gpi =
new
();
864
using GraphicsPath gpf =
new
();
878
using GraphicsPath gp =
new
();
887
using GraphicsPath gpi =
new
();
888
using GraphicsPath gpf =
new
();
900
using GraphicsPath gpi =
new
();
901
using GraphicsPath gpf =
new
();
938
using GraphicsPath gp =
new
();
939
AssertExtensions.Throws<ArgumentNullException>("points", () => new
GraphicsPath
().AddPolygon((Point[])null));
940
AssertExtensions.Throws<ArgumentNullException>("points", () => new
GraphicsPath
().AddPolygon((PointF[])null));
954
using GraphicsPath gp =
new
();
969
using GraphicsPath gp =
new
();
976
using GraphicsPath inner =
new
();
977
using GraphicsPath gp =
new
();
986
using GraphicsPath gp =
new
();
987
AssertExtensions.Throws<ArgumentNullException>("addingPath", () => new
GraphicsPath
().AddPath(null, false));
993
using GraphicsPath gpi =
new
();
994
using GraphicsPath gpf =
new
();
1005
using GraphicsPath gpi =
new
();
1006
using GraphicsPath gpf =
new
();
1017
using GraphicsPath gpi =
new
();
1018
using GraphicsPath gpf =
new
();
1037
using GraphicsPath gp1 =
new
();
1038
using GraphicsPath gp2 =
new
();
1039
using GraphicsPath gp3 =
new
();
1053
using GraphicsPath gpi =
new
();
1054
using GraphicsPath gpf =
new
();
1065
using GraphicsPath gp =
new
();
1079
using GraphicsPath gp =
new
();
1081
new
GraphicsPath
().AddString("mono", null, 0, 10, new Point(10, 10), StringFormat.GenericDefault));
1087
using GraphicsPath gp =
new
();
1101
using GraphicsPath gp =
new
();
1111
using GraphicsPath gp =
new
();
1118
using GraphicsPath gp =
new
();
1125
using GraphicsPath gp =
new
();
1138
using GraphicsPath gp =
new
();
1148
using GraphicsPath gp =
new
();
1157
using GraphicsPath gp =
new
();
1166
using GraphicsPath gp =
new
();
1175
using GraphicsPath gp =
new
();
1185
using GraphicsPath gp =
new
();
1195
using GraphicsPath gp =
new
();
1210
using GraphicsPath gp =
new
();
1225
using GraphicsPath gp =
new
();
1235
using GraphicsPath gp =
new
();
1245
using GraphicsPath gp =
new
();
1255
using GraphicsPath gp =
new
();
1270
using GraphicsPath gp =
new
();
1280
using GraphicsPath gp =
new
();
1287
using GraphicsPath gp =
new
();
1288
AssertExtensions.Throws<ArgumentException>(null, () => new
GraphicsPath
().Warp([], default));
1294
using GraphicsPath gp =
new
();
1304
using GraphicsPath gp =
new
();
1314
using GraphicsPath gp =
new
();
1323
using GraphicsPath gp =
new
();
1330
using GraphicsPath gp =
new
();
1341
using GraphicsPath gp =
new
();
1355
using GraphicsPath gp =
new
();
1362
using GraphicsPath gp =
new
();
1373
using GraphicsPath gp =
new
();
1380
using GraphicsPath gp =
new
();
1395
using GraphicsPath gp =
new
();
1402
using GraphicsPath gp =
new
();
1417
using GraphicsPath gp =
new
();
1432
using GraphicsPath gp =
new
();
1453
using GraphicsPath gp =
new
();
1469
using GraphicsPath path =
new
();
1484
using GraphicsPath gp =
new
();
1500
using GraphicsPath path =
new
();
1515
using GraphicsPath gp =
new
();
1530
using GraphicsPath gp =
new
();
1531
using GraphicsPath inner =
new
();
1547
using GraphicsPath inner =
new
();
1548
using GraphicsPath path =
new
();
1564
using GraphicsPath path =
new
();
1581
using GraphicsPath gp =
new
();
1597
using GraphicsPath gp =
new
();
1613
using GraphicsPath gp =
new
();
1634
using GraphicsPath gp =
new
();
1660
using GraphicsPath gp =
new
();
1673
using GraphicsPath gp =
new
();
1683
using GraphicsPath gp =
new
();
1692
using GraphicsPath gp =
new
();
1703
using GraphicsPath gp =
new
();
1725
using GraphicsPath gp =
new
();
1738
using GraphicsPath gp =
new
();
1832
using GraphicsPath gp =
new
();
1840
using GraphicsPath gp =
new
();
1861
using GraphicsPath gp =
new
();
1870
using GraphicsPath gp =
new
();
1879
using GraphicsPath gp =
new
();
1887
using GraphicsPath gp =
new
();
1895
using GraphicsPath gp =
new
();
1903
using GraphicsPath gp =
new
();
1913
using GraphicsPath gp =
new
();
1922
using GraphicsPath gp =
new
();
1930
using GraphicsPath gp =
new
();
1938
using GraphicsPath gp =
new
();
1947
using GraphicsPath gp =
new
();
1956
using GraphicsPath inner =
new
();
1957
using GraphicsPath gp =
new
();
1968
using GraphicsPath gp =
new
();
1978
using GraphicsPath gp =
new
();
2005
using GraphicsPath gp =
new
();
2015
using (GraphicsPath gp =
new
())
2026
using (GraphicsPath gp =
new
())
2056
using GraphicsPath path =
new
(expectedPoints, expectedTypes);
2247
using GraphicsPath gp =
new
();
2276
using GraphicsPath gp =
new
();
2303
using GraphicsPath gp =
new
();
2324
using GraphicsPath gp =
new
();
2354
using GraphicsPath path =
new
();
2385
using GraphicsPath path =
new
();
System\Drawing\Drawing2D\PathGradientBrushTests.cs (1)
112
using GraphicsPath path =
new
();
System\Drawing\GraphicsTests.cs (5)
2384
using GraphicsPath graphicsPath =
new
();
2393
using GraphicsPath graphicsPath =
new
();
2415
GraphicsPath graphicsPath =
new
();
2427
using GraphicsPath graphicsPath =
new
();
2444
using GraphicsPath graphicsPath =
new
();
System\Drawing\PenTests.cs (12)
368
using GraphicsPath fillPath =
new
();
369
using GraphicsPath strokePath =
new
();
393
using GraphicsPath fillPath =
new
();
394
using GraphicsPath strokePath =
new
();
405
using GraphicsPath fillPath =
new
();
406
using GraphicsPath strokePath =
new
();
420
using GraphicsPath fillPath =
new
();
421
using GraphicsPath strokePath =
new
();
445
using GraphicsPath fillPath =
new
();
446
using GraphicsPath strokePath =
new
();
457
using GraphicsPath fillPath =
new
();
458
using GraphicsPath strokePath =
new
();
System\Drawing\RegionTests.cs (33)
103
using GraphicsPath graphicsPath =
new
();
148
using GraphicsPath graphicsPath =
new
();
166
using GraphicsPath graphicsPath =
new
();
184
using GraphicsPath graphicsPath =
new
();
193
GraphicsPath path1 =
new
();
197
GraphicsPath path2 =
new
();
202
GraphicsPath path3 =
new
();
207
GraphicsPath path4 =
new
();
211
GraphicsPath path5 =
new
();
215
GraphicsPath path6 =
new
();
234
using GraphicsPath path =
new
();
251
GraphicsPath path =
new
();
462
using GraphicsPath path =
new
();
500
using GraphicsPath graphicsPath =
new
();
517
using GraphicsPath graphicPath =
new
();
551
GraphicsPath graphics1 =
new
();
554
GraphicsPath graphics2 =
new
();
557
GraphicsPath graphics3 =
new
();
560
GraphicsPath graphics4 =
new
();
563
GraphicsPath graphics5 =
new
();
566
GraphicsPath graphics6 =
new
();
869
using GraphicsPath path =
new
();
883
using GraphicsPath graphicsPath =
new
();
900
using GraphicsPath graphicsPath =
new
();
1226
using GraphicsPath path =
new
();
1240
using GraphicsPath graphicsPath =
new
();
1257
using GraphicsPath graphicsPath =
new
();
1765
using GraphicsPath path =
new
();
1779
using GraphicsPath graphicsPath =
new
();
1796
using GraphicsPath graphicsPath =
new
();
2123
using GraphicsPath path =
new
();
2137
using GraphicsPath graphicsPath =
new
();
2154
using GraphicsPath graphicsPath =
new
();
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
94
GraphicsPath 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)
530
public void DrawPath(System.Drawing.Pen pen, System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
597
public void FillPath(System.Drawing.Brush brush, System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
665
public void SetClip(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
666
public void SetClip(System.Drawing.Drawing2D.
GraphicsPath
path, System.Drawing.Drawing2D.CombineMode combineMode) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1028
public Region(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1033
public void Complement(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1039
public void Exclude(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1049
public void Intersect(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1076
public void Union(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1080
public void Xor(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1390
public AdjustableArrowCap(float width, float height) : base (default(System.Drawing.Drawing2D.
GraphicsPath
), default(System.Drawing.Drawing2D.
GraphicsPath
)) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1391
public 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); }
1449
public CustomLineCap(System.Drawing.Drawing2D.
GraphicsPath
? fillPath, System.Drawing.Drawing2D.
GraphicsPath
? strokePath) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1450
public CustomLineCap(System.Drawing.Drawing2D.
GraphicsPath
? fillPath, System.Drawing.Drawing2D.
GraphicsPath
? strokePath, System.Drawing.Drawing2D.LineCap baseCap) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1451
public 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); }
1541
public void AddPath(System.Drawing.Drawing2D.
GraphicsPath
addingPath, bool connect) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1600
public GraphicsPathIterator(System.Drawing.Drawing2D.
GraphicsPath
? path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1608
public int NextMarker(System.Drawing.Drawing2D.
GraphicsPath
path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1611
public int NextSubpath(System.Drawing.Drawing2D.
GraphicsPath
path, out bool isClosed) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1820
public 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)
2856
using
GraphicsPath
path = new();
2873
using
GraphicsPath
path = new();
2898
using
GraphicsPath
path = new();
2915
using
GraphicsPath
path = new();
System\Drawing\Drawing2D\CustomLineCapTests.cs (16)
21
GraphicsPath
strokePath = new();
33
GraphicsPath
fillPath = new();
42
public void Ctor_Path_Path_LineCap_Float(
GraphicsPath
fillPath,
GraphicsPath
strokePath, LineCap baseCap, float baseInset, LineCap expectedCap)
61
using
GraphicsPath
fillPath = new();
62
using
GraphicsPath
strokePath = new();
70
using
GraphicsPath
fillPath = new();
79
using
GraphicsPath
fillPath = new();
92
using
GraphicsPath
strokePath = new();
110
using
GraphicsPath
strokePath = new();
130
using
GraphicsPath
strokePath = new();
143
using
GraphicsPath
strokePath = new();
159
using
GraphicsPath
strokePath = new();
180
using
GraphicsPath
strokePath = new();
201
using
GraphicsPath
strokePath = new();
210
using
GraphicsPath
strokePath = new();
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (29)
37
using
GraphicsPath
gp = new(_twoPoints, types);
45
using
GraphicsPath
gp = new();
60
using
GraphicsPath
gp = new();
70
using
GraphicsPath
gp = new(_twoPoints, [0, 129]);
87
using
GraphicsPath
gp = new();
99
using
GraphicsPath
gp = new(_twoPoints, [0, 129]);
110
using
GraphicsPath
gp = new(_twoPoints, [0, 1]);
120
using
GraphicsPath
gp = new();
131
using
GraphicsPath
gp = new();
140
using
GraphicsPath
gp = new();
149
using
GraphicsPath
gp = new(_twoPoints, [0, 1]);
157
using
GraphicsPath
gp = new(_twoPoints, [0, 1]);
158
using
GraphicsPath
gpEmpty = new();
170
using
GraphicsPath
gp = new();
192
using
GraphicsPath
gp = new(points, types);
193
using
GraphicsPath
gpEmpty = new();
205
using
GraphicsPath
gp = new();
206
using
GraphicsPath
inner = new();
229
using
GraphicsPath
gp = new();
245
using
GraphicsPath
gp = new(points, types);
262
using
GraphicsPath
gp = new();
270
using
GraphicsPath
gp = new();
291
using
GraphicsPath
gp = new();
300
using
GraphicsPath
gp = new();
309
using
GraphicsPath
gp = new();
322
using
GraphicsPath
gp = new();
341
using
GraphicsPath
gp = new(points, types);
355
using
GraphicsPath
gp = new(points, types);
371
using
GraphicsPath
gp = new(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (233)
36
using
GraphicsPath
gp = new();
44
using
GraphicsPath
gpa = new(FillMode.Alternate);
45
using
GraphicsPath
gpw = new(FillMode.Winding);
66
using
GraphicsPath
gp = new(points, types);
67
using
GraphicsPath
gpf = new(fPoints, types);
102
using
GraphicsPath
gp = new();
103
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
111
using
GraphicsPath
gp = new();
121
using
GraphicsPath
gp = new();
131
using
GraphicsPath
gp = new();
138
using
GraphicsPath
gp = new();
146
using
GraphicsPath
gp = new();
159
using
GraphicsPath
gp = new();
172
using
GraphicsPath
gp = new();
179
using
GraphicsPath
gp = new();
190
using
GraphicsPath
gp = new();
202
using
GraphicsPath
gp = new(points, types);
209
using
GraphicsPath
gpInt = new();
210
using
GraphicsPath
gpFloat = new();
211
using
GraphicsPath
gpPointsInt = new();
212
using
GraphicsPath
gpfPointsloat = new();
230
using
GraphicsPath
gpi = new();
231
using
GraphicsPath
gpf = new();
254
using
GraphicsPath
gpi = new();
255
using
GraphicsPath
gpf = new();
266
using
GraphicsPath
gpi = new();
267
using
GraphicsPath
gpf = new();
289
using
GraphicsPath
gpi = new();
290
using
GraphicsPath
gpf = new();
315
using
GraphicsPath
gp = new();
330
using
GraphicsPath
gpi = new();
331
using
GraphicsPath
gpf = new();
344
using
GraphicsPath
gpi = new();
345
using
GraphicsPath
gpf = new();
359
using
GraphicsPath
gp = new();
367
using
GraphicsPath
gpi = new();
368
using
GraphicsPath
gpf = new();
380
using
GraphicsPath
gp = new();
381
using
GraphicsPath
gpf = new();
402
using
GraphicsPath
gpi = new();
403
using
GraphicsPath
gpf = new();
418
using
GraphicsPath
gpf = new();
426
using
GraphicsPath
gp = new();
443
using
GraphicsPath
gp = new();
453
using
GraphicsPath
gpi = new();
454
using
GraphicsPath
gpf = new();
469
using
GraphicsPath
gpi = new();
470
using
GraphicsPath
gpf = new();
484
using
GraphicsPath
gpi = new();
485
using
GraphicsPath
gpf = new();
503
using
GraphicsPath
gpi = new();
504
using
GraphicsPath
gpf = new();
543
using
GraphicsPath
gp = new();
557
using
GraphicsPath
gp = new();
572
using
GraphicsPath
gp = new();
587
using
GraphicsPath
gp = new();
602
using
GraphicsPath
gp = new();
613
using
GraphicsPath
gp = new();
624
using
GraphicsPath
gpi = new();
625
using
GraphicsPath
gpf = new();
637
using
GraphicsPath
gpi = new();
638
using
GraphicsPath
gpf = new();
653
using
GraphicsPath
gpi = new();
654
using
GraphicsPath
gpf = new();
665
using
GraphicsPath
gp = new();
681
using
GraphicsPath
gp = new();
696
using
GraphicsPath
gp = new();
703
using
GraphicsPath
gpi = new();
704
using
GraphicsPath
gpf = new();
716
using
GraphicsPath
gpi = new();
717
using
GraphicsPath
gpf = new();
746
using
GraphicsPath
gpi = new();
747
using
GraphicsPath
gpf = new();
761
using
GraphicsPath
gpi = new();
762
using
GraphicsPath
gpf = new();
789
using
GraphicsPath
gpi = new();
790
using
GraphicsPath
gpf = new();
805
using
GraphicsPath
gp = new();
813
using
GraphicsPath
gpi = new();
814
using
GraphicsPath
gpf = new();
826
using
GraphicsPath
gpi = new();
827
using
GraphicsPath
gpf = new();
841
using
GraphicsPath
gpi = new();
842
using
GraphicsPath
gpf = new();
853
using
GraphicsPath
gpi = new();
863
using
GraphicsPath
gpi = new();
864
using
GraphicsPath
gpf = new();
878
using
GraphicsPath
gp = new();
887
using
GraphicsPath
gpi = new();
888
using
GraphicsPath
gpf = new();
900
using
GraphicsPath
gpi = new();
901
using
GraphicsPath
gpf = new();
938
using
GraphicsPath
gp = new();
954
using
GraphicsPath
gp = new();
969
using
GraphicsPath
gp = new();
976
using
GraphicsPath
inner = new();
977
using
GraphicsPath
gp = new();
986
using
GraphicsPath
gp = new();
993
using
GraphicsPath
gpi = new();
994
using
GraphicsPath
gpf = new();
1005
using
GraphicsPath
gpi = new();
1006
using
GraphicsPath
gpf = new();
1017
using
GraphicsPath
gpi = new();
1018
using
GraphicsPath
gpf = new();
1037
using
GraphicsPath
gp1 = new();
1038
using
GraphicsPath
gp2 = new();
1039
using
GraphicsPath
gp3 = new();
1053
using
GraphicsPath
gpi = new();
1054
using
GraphicsPath
gpf = new();
1065
using
GraphicsPath
gp = new();
1079
using
GraphicsPath
gp = new();
1087
using
GraphicsPath
gp = new();
1101
using
GraphicsPath
gp = new();
1111
using
GraphicsPath
gp = new();
1118
using
GraphicsPath
gp = new();
1125
using
GraphicsPath
gp = new();
1138
using
GraphicsPath
gp = new();
1148
using
GraphicsPath
gp = new();
1149
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1157
using
GraphicsPath
gp = new();
1158
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1166
using
GraphicsPath
gp = new();
1167
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1175
using
GraphicsPath
gp = new();
1176
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1185
using
GraphicsPath
gp = new();
1186
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1195
using
GraphicsPath
gp = new();
1196
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1210
using
GraphicsPath
gp = new();
1211
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1225
using
GraphicsPath
gp = new();
1226
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1235
using
GraphicsPath
gp = new();
1236
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1245
using
GraphicsPath
gp = new();
1246
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1255
using
GraphicsPath
gp = new();
1256
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1270
using
GraphicsPath
gp = new();
1271
using
GraphicsPath
clone = Assert.IsType<
GraphicsPath
>(gp.Clone());
1280
using
GraphicsPath
gp = new();
1287
using
GraphicsPath
gp = new();
1294
using
GraphicsPath
gp = new();
1304
using
GraphicsPath
gp = new();
1314
using
GraphicsPath
gp = new();
1323
using
GraphicsPath
gp = new();
1330
using
GraphicsPath
gp = new();
1341
using
GraphicsPath
gp = new();
1355
using
GraphicsPath
gp = new();
1362
using
GraphicsPath
gp = new();
1373
using
GraphicsPath
gp = new();
1380
using
GraphicsPath
gp = new();
1395
using
GraphicsPath
gp = new();
1402
using
GraphicsPath
gp = new();
1417
using
GraphicsPath
gp = new();
1432
using
GraphicsPath
gp = new();
1453
using
GraphicsPath
gp = new();
1469
using
GraphicsPath
path = new();
1484
using
GraphicsPath
gp = new();
1500
using
GraphicsPath
path = new();
1515
using
GraphicsPath
gp = new();
1530
using
GraphicsPath
gp = new();
1531
using
GraphicsPath
inner = new();
1547
using
GraphicsPath
inner = new();
1548
using
GraphicsPath
path = new();
1564
using
GraphicsPath
path = new();
1581
using
GraphicsPath
gp = new();
1597
using
GraphicsPath
gp = new();
1613
using
GraphicsPath
gp = new();
1634
using
GraphicsPath
gp = new();
1660
using
GraphicsPath
gp = new();
1673
using
GraphicsPath
gp = new();
1683
using
GraphicsPath
gp = new();
1692
using
GraphicsPath
gp = new();
1703
using
GraphicsPath
gp = new();
1725
using
GraphicsPath
gp = new();
1738
using
GraphicsPath
gp = new();
1832
using
GraphicsPath
gp = new();
1840
using
GraphicsPath
gp = new();
1861
using
GraphicsPath
gp = new();
1870
using
GraphicsPath
gp = new();
1879
using
GraphicsPath
gp = new();
1887
using
GraphicsPath
gp = new();
1895
using
GraphicsPath
gp = new();
1903
using
GraphicsPath
gp = new();
1913
using
GraphicsPath
gp = new();
1922
using
GraphicsPath
gp = new();
1930
using
GraphicsPath
gp = new();
1938
using
GraphicsPath
gp = new();
1947
using
GraphicsPath
gp = new();
1956
using
GraphicsPath
inner = new();
1957
using
GraphicsPath
gp = new();
1968
using
GraphicsPath
gp = new();
1978
using
GraphicsPath
gp = new();
2005
using
GraphicsPath
gp = new();
2015
using (
GraphicsPath
gp = new())
2026
using (
GraphicsPath
gp = new())
2056
using
GraphicsPath
path = new(expectedPoints, expectedTypes);
2062
private static void AssertEmptyGraphicsPath(
GraphicsPath
gp)
2074
private static void AssertLine(
GraphicsPath
path)
2089
private static void AssertArc(
GraphicsPath
path)
2105
private static void AssertBezier(
GraphicsPath
path)
2122
private static void AssertCurve(
GraphicsPath
path)
2138
private static void AssertClosedCurve(
GraphicsPath
path)
2147
private static void AssertRectangle(
GraphicsPath
path)
2164
private static void AssertEllipse(
GraphicsPath
path)
2173
private static void AssertPie(
GraphicsPath
path)
2190
private static void AssertPolygon(
GraphicsPath
path)
2207
private static void AssertFlats(
GraphicsPath
flat,
GraphicsPath
original)
2216
private static void AssertWrapNaN(
GraphicsPath
path)
2230
private static void AssertWiden3(
GraphicsPath
path)
2247
using
GraphicsPath
gp = new();
2276
using
GraphicsPath
gp = new();
2303
using
GraphicsPath
gp = new();
2324
using
GraphicsPath
gp = new();
2334
private static void AssertReverse(
GraphicsPath
gp, PointF[] expectedPoints, byte[] expectedTypes)
2354
using
GraphicsPath
path = new();
2385
using
GraphicsPath
path = new();
System\Drawing\Drawing2D\PathGradientBrushTests.cs (4)
97
using
GraphicsPath
path = new(_defaultFloatPoints, [0, 1]);
106
AssertExtensions.Throws<ArgumentNullException>("path", () => new PathGradientBrush((
GraphicsPath
)null));
112
using
GraphicsPath
path = new();
121
using
GraphicsPath
path = new(_defaultFloatPoints, [0, 1]);
System\Drawing\GraphicsTests.cs (5)
2384
using
GraphicsPath
graphicsPath = new();
2393
using
GraphicsPath
graphicsPath = new();
2415
GraphicsPath
graphicsPath = new();
2427
using
GraphicsPath
graphicsPath = new();
2444
using
GraphicsPath
graphicsPath = new();
System\Drawing\PenTests.cs (12)
368
using
GraphicsPath
fillPath = new();
369
using
GraphicsPath
strokePath = new();
393
using
GraphicsPath
fillPath = new();
394
using
GraphicsPath
strokePath = new();
405
using
GraphicsPath
fillPath = new();
406
using
GraphicsPath
strokePath = new();
420
using
GraphicsPath
fillPath = new();
421
using
GraphicsPath
strokePath = new();
445
using
GraphicsPath
fillPath = new();
446
using
GraphicsPath
strokePath = new();
457
using
GraphicsPath
fillPath = new();
458
using
GraphicsPath
strokePath = new();
System\Drawing\RegionTests.cs (40)
103
using
GraphicsPath
graphicsPath = new();
148
using
GraphicsPath
graphicsPath = new();
166
using
GraphicsPath
graphicsPath = new();
184
using
GraphicsPath
graphicsPath = new();
193
GraphicsPath
path1 = new();
197
GraphicsPath
path2 = new();
202
GraphicsPath
path3 = new();
207
GraphicsPath
path4 = new();
211
GraphicsPath
path5 = new();
215
GraphicsPath
path6 = new();
222
public void Ctor_InfiniteGraphicsPath_IsInfinite(
GraphicsPath
path, bool isInfinite)
234
using
GraphicsPath
path = new();
245
AssertExtensions.Throws<ArgumentNullException>("path", () => new Region((
GraphicsPath
)null));
251
GraphicsPath
path = new();
462
using
GraphicsPath
path = new();
500
using
GraphicsPath
graphicsPath = new();
509
AssertExtensions.Throws<ArgumentNullException>("path", () => region.Complement((
GraphicsPath
)null));
517
using
GraphicsPath
graphicPath = new();
551
GraphicsPath
graphics1 = new();
554
GraphicsPath
graphics2 = new();
557
GraphicsPath
graphics3 = new();
560
GraphicsPath
graphics4 = new();
563
GraphicsPath
graphics5 = new();
566
GraphicsPath
graphics6 = new();
869
using
GraphicsPath
path = new();
883
using
GraphicsPath
graphicsPath = new();
892
AssertExtensions.Throws<ArgumentNullException>("path", () => region.Exclude((
GraphicsPath
)null));
900
using
GraphicsPath
graphicsPath = new();
1226
using
GraphicsPath
path = new();
1240
using
GraphicsPath
graphicsPath = new();
1249
AssertExtensions.Throws<ArgumentNullException>("path", () => region.Intersect((
GraphicsPath
)null));
1257
using
GraphicsPath
graphicsPath = new();
1765
using
GraphicsPath
path = new();
1779
using
GraphicsPath
graphicsPath = new();
1788
AssertExtensions.Throws<ArgumentNullException>("path", () => region.Union((
GraphicsPath
)null));
1796
using
GraphicsPath
graphicsPath = new();
2123
using
GraphicsPath
path = new();
2137
using
GraphicsPath
graphicsPath = new();
2146
AssertExtensions.Throws<ArgumentNullException>("path", () => region.Xor((
GraphicsPath
)null));
2154
using
GraphicsPath
graphicsPath = new();
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
94
GraphicsPath
path = new();