Table of Contents

Method CopyPixels

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

CopyPixels(IBitmapSource, IBitmapLock)

public static void CopyPixels(this IBitmapSource source, IBitmapLock dst)

Parameters

source IBitmapSource
dst IBitmapLock

CopyPixels(IBitmapSource, IBitmapLock, Point2Int32)

public static void CopyPixels(this IBitmapSource source, IBitmapLock dst, Point2Int32 srcOffset)

Parameters

source IBitmapSource
dst IBitmapLock
srcOffset Point2Int32

CopyPixels<TPixel>(IBitmapSource<TPixel>, IBitmapLock)

public static void CopyPixels<TPixel>(this IBitmapSource<TPixel> source, IBitmapLock dst) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource<TPixel>
dst IBitmapLock

Type Parameters

TPixel

CopyPixels<TPixel>(IBitmapSource<TPixel>, IBitmapLock, Point2Int32)

public static void CopyPixels<TPixel>(this IBitmapSource<TPixel> source, IBitmapLock dst, Point2Int32 srcOffset) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource<TPixel>
dst IBitmapLock
srcOffset Point2Int32

Type Parameters

TPixel

CopyPixels<TPixel>(IBitmapSource<TPixel>, RegionPtr<TPixel>)

public static void CopyPixels<TPixel>(this IBitmapSource<TPixel> source, RegionPtr<TPixel> dst) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource<TPixel>
dst RegionPtr<TPixel>

Type Parameters

TPixel

CopyPixels<TPixel>(IBitmapSource<TPixel>, RegionPtr<TPixel>, Point2Int32)

public static void CopyPixels<TPixel>(this IBitmapSource<TPixel> source, RegionPtr<TPixel> dst, Point2Int32 srcOffset) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource<TPixel>
dst RegionPtr<TPixel>
srcOffset Point2Int32

Type Parameters

TPixel

CopyPixels<TPixel>(IBitmapSource<TPixel>, ExtentPtr<TPixel>, Point2Int32)

public static void CopyPixels<TPixel>(this IBitmapSource<TPixel> source, ExtentPtr<TPixel> dst, Point2Int32 srcOffset) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource<TPixel>
dst ExtentPtr<TPixel>
srcOffset Point2Int32

Type Parameters

TPixel