title: Why might Graphics.RotateTransform() not be applied?
body: <p>I have the following function:</p>
  
  <pre><code>static private Image CropRotate(Image wholeImage, Rectangle cropArea)
  {
      Bitmap cropped = new Bitmap(cropArea.Width, cropArea.Height);
  
      using(Graphics g = Graphics.FromImage(cropped))
      {
          g.DrawImage(wholeImage, new Rectangle(0, 0, cropArea.Width, cropArea.Height), cropArea, GraphicsUnit.Pixel);
          g.RotateTransform(180f);
      }
      return cropped as Image;
  }
  </code></pre>
  
  <p>It's supposed to crop an image, then rotate the resulting sub-image. In actuality though, it only performs the crop.</p>
  
  <p>Why is <code>RotateTransform()</code> not being applied?</p>