title: Fastest way to generate bitmap from polygons in .NET
body: <p>After reading <A HREF="http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/" rel="nofollow noreferrer">this blog</A>, I want to try writing a similar program myself.</p>
  
  <p>One of the subtasks is to have a source set of polygons, and use these polygons to generate the bitmap that is going to be compared with the target image.</p>
  
  <p>In .NET 2005 the obvious method is to use GDI+. Simply create a bitmap, get a <i>Graphics</i> object that interfaces to the bitmap, and call a number of the <i>Graphics</i> objects rendering functions.</p>
  
  <p><A href="http://www.fernicola.org/loquitor/index.php?/archives/4-Windows-Presentation-Foundation-Graphics-Under-the-Hood.html" rel="nofollow noreferrer">Apparently</A>, this doesn't utilise hardware accelaration. This is why WPF doesn't use GDI+.</p>
  
  <p>Is there an API in .NET to generate a bitmap utilising more advanced rendering technologies?</p>