示例#1
0
 /// <summary>
 /// Copies the pixels to another <see cref="PixelAccessor{TPixel}"/> of the same size.
 /// </summary>
 /// <param name="target">The target pixel buffer accessor.</param>
 internal void CopyTo(PixelAccessor <TPixel> target)
 {
     SpanHelper.Copy(this.GetPixelSpan(), target.PixelBuffer.Span);
 }
 /// <summary>
 /// Copies the pixels to a <see cref="PixelAccessor{TPixel}"/> of the same size.
 /// </summary>
 /// <param name="target">The target pixel buffer accessor.</param>
 internal void CopyTo(PixelAccessor <TPixel> target)
 {
     this.CopyTo(target.PixelBuffer);
 }