GraphicsPath path = new GraphicsPath();
private void Draw(object sender, System.Windows.Forms.PaintEventArgs e) { e.Graphics.DrawLine(Pens.Red, 10, 10, 10, 10); // Adds nothing. e.Graphics.DrawLine(Pens.Red, 10, 10, 11, 10); // Adds 2 pixels. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)