Method CopyFromBitmap
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
CopyFromBitmap(IDeviceBitmap, IDeviceBitmap, in RectInt32?)
public static void CopyFromBitmap(this IDeviceBitmap deviceBitmap, IDeviceBitmap bitmap, in RectInt32? srcRect = null)
Parameters
deviceBitmap
IDeviceBitmapbitmap
IDeviceBitmapsrcRect
RectInt32?
CopyFromBitmap(IDeviceBitmap, Point2Int32?, IBitmap, in RectInt32?)
public static void CopyFromBitmap(this IDeviceBitmap deviceBitmap, Point2Int32? dstOffset, IBitmap source, in RectInt32? srcRect)
Parameters
deviceBitmap
IDeviceBitmapdstOffset
Point2Int32?source
IBitmapsrcRect
RectInt32?
CopyFromBitmap(IDeviceBitmap, IBitmap)
public static void CopyFromBitmap(this IDeviceBitmap deviceBitmap, IBitmap source)
Parameters
deviceBitmap
IDeviceBitmapsource
IBitmap