[]
Loads another GcWicBitmap at the given destination within the image.
public void ImportAsFragment(GcWicBitmap sourceWicBitmap, int xDst, int yDst)
Public Sub ImportAsFragment(sourceWicBitmap As GcWicBitmap, xDst As Integer, yDst As Integer)
Type | Name | Description |
---|---|---|
GcWicBitmap | sourceWicBitmap | The source GcWicBitmap. |
int | xDst | The destination X pixel coordinate within the target bitmap. |
int | yDst | The destination Y pixel coordinate within the target bitmap. |
Loads a GcBitmap at the given destination within the image.
If the source image is not opaque, the color channels must be premultiplied with the alpha channel.
public void ImportAsFragment(GcBitmap sourceBitmap, int xDst, int yDst)
Public Sub ImportAsFragment(sourceBitmap As GcBitmap, xDst As Integer, yDst As Integer)
Type | Name | Description |
---|---|---|
GcBitmap | sourceBitmap | The source GcBitmap. |
int | xDst | The destination X pixel coordinate within the target bitmap. |
int | yDst | The destination Y pixel coordinate within the target bitmap. |
Loads the pixel buffer from a byte array at the given destination within the image.
public void ImportAsFragment(byte[] bytes, Rectangle dstRect)
Public Sub ImportAsFragment(bytes As Byte(), dstRect As Rectangle)
Type | Name | Description |
---|---|---|
byte[] | bytes | The source byte array with pixel buffer. |
Rectangle | dstRect | The destination rectangle within the target bitmap. |
Copies the unmanaged block of memory ato the given destination within the image.
public void ImportAsFragment(IntPtr srcPtr, Rectangle dstRect)
Public Sub ImportAsFragment(srcPtr As IntPtr, dstRect As Rectangle)