292 references to GraphicsPath
System.Drawing.Common.Tests (291)
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 (18)
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
();
193
using GraphicsPath gpEmpty =
new
();
205
using GraphicsPath gp =
new
();
206
using GraphicsPath inner =
new
();
229
using GraphicsPath gp =
new
();
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
();
System\Drawing\Drawing2D\GraphicsPathTests.cs (195)
36
using GraphicsPath gp =
new
();
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
();
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
())
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
();