Abbas_M wrote:
add Pic.Width to x1 value and Pic.Height to y1 value but it dont understand what it means by that.
You don't understand what they mean by add the two values together?
Pic.Width is a command built into the turing language, as is Pic.Height. They return the width and height of an image, respectively.
code: |
put Pic.Width(myImg)
put Pic.Height(myImg)
|
If you add the value given by Pic.Width to x, you get the x coordinate of the right hand side of the box, and if you add Pic.Height to the y value, you get the y coordinate of the top of the box. Combine those two into a single coordinate, and you have the coordinates of the top right hand corner.