title: pygame rotation around center point
body: <p>I've read several other posts about rotating an image around the center point, but I've yet to figure it out. I even copy pasted one of the solutions posted on another SO question and it didn't work.</p>
  
  <p>This is my code</p>
  
  <pre><code>  def rotate(self, angle):
      self.old_center = self.surface.get_rect().center
      self.surface = pygame.transform.rotate(self.surface, angle)
      self.surface.get_rect(center = self.old_center)
  </code></pre>
  
  <p>it's inside a class which contains the surface.</p>
  
  <p>When I call this method the image rotates but also translates, and gets distorted.</p>