title: Graphics.DrawImage produces alpha-channel gradient in C# WinForms 2.0
body: <p>I'm facing a really perplexing problem..</p>
  
  <p>I have a .Net 2.0 C# WinForms project.
  I'm trying to stretch a bitmap onto a drawing area, but for some reason it is not stretched properly - I get alpha channel gradient on the right and bottom margins of my drawing area.</p>
  
  <p>It took me quite a while to isolate this problem. I create a few lines of code that reproduce the problem (see code snippet and screenshot below).</p>
  
  <p>Can anyone please shed some light over this matter?</p>
  
  <p>Thanks in advance.</p>
  
  <p>--</p>
  
  <pre><code>private void Form1_Paint( object sender, PaintEventArgs e )
  {
      // Create a black bitmap resource sized 10x10
      Image resourceImg = new Bitmap( 10, 10 );
      Graphics g = Graphics.FromImage( resourceImg );
      g.FillRectangle( Brushes.Black, 0, 0, resourceImg.Width, resourceImg.Height );
  
      Rectangle drawingArea = new Rectangle( 0, 0, 200, 200 ); // Set the size of the drawing area
      e.Graphics.FillRectangle( Brushes.Aqua, drawingArea );   // Fill an aqua colored rectangle
      e.Graphics.DrawImage( resourceImg, drawingArea );        // Stretch the resource image
  
      // Expected result: The resource image should completely cover the aqua rectangle.
      // Actual Result:   The right and bottom edges become gradiently transparent (revealing the aqua rectangle under it)
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/vwzGs.png" alt="DrawImage Problem"></p>