Did you try and rotate the image around its center axis? This requires to translate to the center, rotate a particular angle (in this case 180 degrees), draw the image, then reverse the initial...