title: How do you draw a line on a canvas in WPF that is 1 pixel thick
body: <p>I'm using the Line class to draw on a canvas in WPF and even though I set <code>StrokeThickness = 1</code>, the line shows up 2 pixels wide - it's almost as if the minimum thickness is two. How do I draw a line that is truly 1 pixel thick?</p>
  
  <pre><code>Line myLine = new Line();
  
  myLine.Stroke = System.Windows.Media.Brushes.Black;
  
  myLine.X1 = 100;
  myLine.X2 = 140;  // 150 too far
  myLine.Y1 = 200;
  myLine.Y2 = 200;
  
  myLine.StrokeThickness = 1;
  
  graphSurface.Children.Add(myLine);
  </code></pre>