|
getImScroll
|
|
|
|
| Image
|
|
|
| An integer between 1 and 99 specifying the number of the frame.
|
|
|
| X0, Y0
|
|
|
| Integer variables that return the pixel coordinates of the origin of the viewable area of the image.
|
|
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
|
|
| This set of statements retrieves the scrolling coordinates of the viewable area of the image:
|
|
|
| setCurDir("samples")
|
| loadIm (1,"sample14.iwd")
|
| getImScroll (1, x0, y0 )
|
| print "x0=", x0
|
| print "y0=", y0
|
|
|