|
setImPos
|
|
|
|
| Image
|
|
|
| An integer between 1 and 99 specifying the number of the frame.
|
|
|
| X0, Y0
|
|
|
| Positive integers specifying the coordinates of the top left corner of the frame relative to the top left corner of ImageWarp's client area.
|
| Sx, Sy
|
|
|
| Optional positive integers specifying the new width and height of the frame. If these parameters are omitted, the frame will maintain its current size.
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| This set of statements continuously captures an image and moves it across the workspace:
|
|
|
| For J=0 To getWorkHeight()-200 Step 8
|
| For I=0 To getWorkWidth()-200 Step 8
|
| grabIm(1)
|
| setImPos(1,I,J)
|
| Next
|
| For I=800-200 To 0 Step -8
|
| grabIm(1)
|
| setImPos(1,I,J+4)
|
| Next
|
| Next
|