Anyone got a nice little CopyRect type of function

BlitzMax Forums/BlitzMax Programming/Anyone got a nice little CopyRect type of function

Yeah the problem with your code is that you are assuming that the starting co-ords for the image are always 0,0. What if I wanted to draw only the bottom-right of the image or a 32x32 square from the center of the image?