get sub image in rect from source image
source image
sub image
rect (orgin is (0,0), range is (-1,1))
get sub image in rect from source image