Hi,
Here is the plugin I promised you
It is an overload to the paste image command, which takes these parameters:
image id, left, top, right, bottom, colorkey
(the left, top, right, bottom are the destination position to draw the image)
Here is some example code:
sync on
make camera 1
backdrop off 1
set camera to image 1,1,1024,768
sync
cls 0
set current bitmap -1
cls 0
ink rgb(255,0,0),0
box 100,100,200,200
set current bitmap 0
cls 0
ink rgb(0,0,255),0
box 50,50,250,250
paste image 1,0,0,1024,768,0xFF000000
sync
sync
wait key
(requires dbp 7.1)
It also requires that you use some image commands, so that the image dll is included.
This should be almost as fast or faster than the normal paste image command.
Enjoy
edit:
It does require shaders though to work