[]
Loads another C1Bitmap to the given destination within the image.
public void ImportAsFragment(C1Bitmap bitmap, int dstX, int dstY)
| Type | Name | Description |
|---|---|---|
| C1Bitmap | bitmap | The source bitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |
Loads the pixel buffer from a byte array to the given destination within the image.
public void ImportAsFragment(byte[] bytes, ImageRect dstRect)
| Type | Name | Description |
|---|---|---|
| byte[] | bytes | The source byte array with pixel buffer. |
| ImageRect | dstRect | The destination rectangle within the target bitmap. |
Copies the unmanaged block of memory to the given destination within the image.
public void ImportAsFragment(IntPtr srcPtr, ImageRect dstRect)
| Type | Name | Description |
|---|---|---|
| IntPtr | srcPtr | The pointer to the beginning of the unmanaged block of memory. |
| ImageRect | dstRect | The destination rectangle within the target bitmap. |
Loads a WriteableBitmap to the given destination within the image.
public void ImportAsFragment(WriteableBitmap writeableBitmap, int dstX, int dstY)
| Type | Name | Description |
|---|---|---|
| WriteableBitmap | writeableBitmap | The source WriteableBitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |
Loads a fragment of the D2D.Bitmap1 to the given destination within the image.
public void ImportAsFragment(Bitmap1 d2dBitmap, DeviceContext context, RectL srcRect, int dstX, int dstY)
| Type | Name | Description |
|---|---|---|
| Bitmap1 | d2dBitmap | The source D2D.Bitmap1. |
| DeviceContext | context | The device context used to create a D2D bitmap. |
| RectL | srcRect | The source rectangle within d2dBitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |