title: How do I draw an image based on a simple polygon?
body: <p>I'd like to copy a roughly rectangular area to a rectangular area. Example:</p>
  
  <p><img src="https://i.stack.imgur.com/S99Hf.png" alt=""></p>
  
  <p>Both areas are defined by their corner points. The general direction is kept (no flipping etc).</p>
  
  <p>Simply rotating the source image does not work since opposing sides may be of different length.</p>
  
  <p>So far I found no way to do this in pure C# (except manual pixel copying), so I guess I have to resort to the Windows API or some 3rd party library?</p>