7 references to TransformPoints
System.Drawing.Common.Tests (7)
mono\System.Drawing\GraphicsTests.cs (1)
2949
g.
TransformPoints
(CoordinateSpace.Page, CoordinateSpace.Device, ptf);
System\Drawing\GraphicsTests.cs (6)
1810
graphics.
TransformPoints
(destSpace, srcSpace, points);
1842
graphics.
TransformPoints
(space, space, points);
1854
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformPoints
(destSpace, CoordinateSpace.World, new PointF[] { new(1, 1) }));
1865
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformPoints
(CoordinateSpace.World, srcSpace, new PointF[] { new(1, 1) }));
1874
AssertExtensions.Throws<ArgumentNullException>("pts", () => graphics.
TransformPoints
(CoordinateSpace.Page, CoordinateSpace.Page, (PointF[])null));
1883
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformPoints
(CoordinateSpace.Page, CoordinateSpace.Page, Array.Empty<PointF>()));