SptMergeOver(bBufferS As bTftLibParameter1, bBufferD As bTftLibParameter2, wDestOrgX As wTftLibParameter1, wDestOrgY As wTftLibParameter2, bTransparent As bTftLibParameter3, wAlphaColor As wTftLibParameter3, bOverlay As bTftLibParameter4), Byte
Merges the source buffer onto a specified region of the destination buffer. The source buffer is overlaid starting at the given destination origin.
Optional transparency and pixel overlay modes can be applied.
|
Parameter |
Description |
|
bBufferS |
Source buffer |
|
bBufferD |
Destination buffer |
|
wDestOrgX |
X-coordinate of the bottom-left corner in the destination buffer |
|
wDestOrgY |
Y-coordinate of the bottom-left corner in the destination buffer |
|
bTransparent |
Transparency mode: |
|
wAlphaColor |
Alpha color value used when transparency is enabled |
|
bOverlay |
Pixel overlay / blending mode: |
Returns:
0 = Success
1 = Invalid source buffer
2 = Invalid destination buffer
3 = Source buffer does not fit within the destination buffer at the specified position
The source buffer must fully fit within the destination buffer’s width and height when positioned at (wDestOrgX, wDestOrgY).
Created with the Personal Edition of HelpNDoc: Revolutionize Your Documentation Output with HelpNDoc's Stunning User Interface