title: Simpler way of drawing an image with pixels as the unit
body: <p>I am trying to get the handle on some C# functions. Is there any simpler way to draw an image to the screen in Windows Forms using pixels as the measurement ? I just want that accuracy, as I am going to eventually run through an array of a World Level and put grass and walls etc on the screen based on the array.</p>
  
  <pre><code>        Image grass = Bitmap.FromFile("grass.png");
  
          // Create parallelogram for drawing image.
          Point ulCorner = new Point(0, 0);
          Point urCorner = new Point(100, 0);
          Point llCorner = new Point(0, 100);
          Point[] destPara = { ulCorner, urCorner, llCorner };
  
          // Create rectangle for source image.
          Rectangle srcRect = new Rectangle(0, 0, 100, 100);
          GraphicsUnit units = GraphicsUnit.Pixel;
  
          // Draw image to screen.
          GFX.DrawImage(grass, destPara, srcRect, units);
  </code></pre>
  
  <p>I know I can do the following:</p>
  
  <pre><code>GFX.DrawImage(grass, new point(50,50) );
  </code></pre>
  
  <p>But the problem is this is now not using pixels as the measurement so I cannot position it correctly on the screen.</p>