15 references to new
System.Drawing.Common.Tests (15)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (10)
37
using GraphicsPath gp =
new
(_twoPoints, types);
70
using GraphicsPath gp =
new
(_twoPoints, [0, 129]);
99
using GraphicsPath gp =
new
(_twoPoints, [0, 129]);
110
using GraphicsPath gp =
new
(_twoPoints, [0, 1]);
149
using GraphicsPath gp =
new
(_twoPoints, [0, 1]);
157
using GraphicsPath gp =
new
(_twoPoints, [0, 1]);
245
using GraphicsPath gp =
new
(points, types);
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 (3)
67
using GraphicsPath gpf =
new
(fPoints, types);
96
AssertExtensions.Throws<ArgumentException>(null, () => new
GraphicsPath
(new PointF[pointsLength], new byte[typesLength]));
202
using GraphicsPath gp =
new
(points, types);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
99
using GraphicsPath path =
new
(_defaultFloatPoints, [0, 1]);
123
using GraphicsPath path =
new
(_defaultFloatPoints, [0, 1]);