title: How to Rotate a Bitmap and add to another non-rotated image (GDI+, Graphics)
body: <p>I have a base image (baseImage.jpg) and I want to add another image to it (addImage.jpg), but I want to rotate the addImage.jpg first.  Because the user can change the location and rotation of addImage, I need the rotation of addImage to be based on the center point of itself and not based on the size/point of the baseImage.jpg.</p>
  
  <p>The question is, how can I do that?  I can put the addImage into its own graphics object - but how do I get it back into the original baseImage graphics object?  I really don't want to save it off (as there would be thousands of iterations).  Here is some sample code:</p>
  
  <pre><code>Dim addImage As Bitmap = New Bitmap("addImage.jpg")
  Dim x As Matrix
  
  x = New Matrix()
  'rotates in the center of the addImage.jpg
  x.RotateAt(rotation, New PointF(addImage.width / 2, (addImage.height / 2))
  
  Dim rGraphic As Graphics
  rGraphic = Graphics.FromImage(addImage)
  
  rGraphic.Transform = x
  
  'Now my addImage.jpg is rotated - but how do I add it to my baseImage.jpg?
  
  Dim baseImage As Bitmap = New Bitmap("baseImage.jpg")
  oGraphic = Graphics.FromImage(baseImage)
  
  'Is there a way to add the output of rGraphic to oGraphic without saving it off to disk?
  </code></pre>