Name | Type | Default value | Description |
---|---|---|---|
hSrc | hvar | N/A | A handle to the source map. |
sx0 | int | 0 | The x-axis pixel coordinate, in the source map, of the left edge of the source rectangle to be copied. |
sy0 | int | 0 | The y-axis pixel coordinate, in the source map, of the lower edge of the source rectangle to be copied. |
snx | int | 0 | The width of the rectangle to be copied from the source map. |
sny | int | 0 | The height of the rectangle to be copied from the source map. |
hDest | hvar | N/A | A handle to the destination map. |
dx0 | int | 0 | The x-axis pixel coordinate, in the destination map, of the left edge of the destination rectangle. |
dy0 | int | 0 | The y-axis pixel coordinate, in the destination map, of the lower edge of the destination rectangle. |
Name | Type | Description |
---|---|---|
hSrc | hvar | A handle to the source map (handle is passed through from input to output). |
hDest | hvar | A handle to the destination map (handle is passed through from input to output). |
This filter has no options.
This filter is modelled on the BitBlt Win32 API function, with handles to device contexts replaced by handles to maps, and the raster operation fixed at SRCCOPY.
For copying heightfield maps, users may prefer to use the Heightfield:CombineMaps filter with the operation option set to 'replace'. That filter provides more options for aligning the source/destination areas, including left/centre/right and top/centre/bottom.