lets say i am print a image on screen. with (x1,y1,x2,y2,sx1,xy1,sx2,sy2)
g.drawImage(player_image, x, y, x+width, y+height
0, 0, 30, 20 ,Sprite_Sheet.m1);
so how would i flip this image vertically is there a forumla that i can use?
for ex to scale image i have to do 2*x and 2*y.