9 references to CopyData
System.Drawing.Common (3)
System\Drawing\Drawing2D\GraphicsPathIterator.cs (3)
150
/// <inheritdoc cref="
CopyData
(ref PointF[], ref byte[], int, int)"/>
154
/// <inheritdoc cref="
CopyData
(ref PointF[], ref byte[], int, int)"/>
201
/// <inheritdoc cref="
CopyData
(ref PointF[], ref byte[], int, int)"/>
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (6)
302
AssertExtensions.Throws<ArgumentException>(null, () => gpi.
CopyData
(ref points, ref types, 0, points.Length));
311
Assert.Throws<ArgumentNullException>(() => gpi.
CopyData
(ref points, ref types, 0, 1));
324
AssertExtensions.Throws<ArgumentException>(null, () => gpi.
CopyData
(ref resultPoints, ref resultTypes, startIndex, endIndex));
343
AssertExtensions.Throws<ArgumentException>(null, () => gpi.
CopyData
(ref resultPoints, ref resultTypes, startIndex, endIndex));
357
Assert.Equal(1, gpi.
CopyData
(ref actualPoints, ref actualTypes, 0, 0));
373
Assert.Equal(3, gpi.
CopyData
(ref actualPoints, ref actualTypes, 0, 2));