Method CopyTo
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Primitives.dll
CopyTo(RegionPtr<T>)
Copies the contents of this RegionPtr<T> into the destination RegionPtr<T>. The destination must be at least as large as the source.
public void CopyTo(RegionPtr<T> dst)
Parameters
dstRegionPtr<T>
Remarks
If the two regions have the same pointer, size, and stride, then this method is a no-op. This can be used to simplify the implementation of some algorithms.