Create Outlines around line.
- by Eric Muller
Hi SO community!
I am drawing graphs into a WinForms Picturebox. Now I am searching for a possibility to 'duplicate' a line (an array of points), so that the two resulting lines are positioned a fixed distance away from the original one. Like in this picture, I have the red line and want to get the black ones:
I thought about just moving the line a few pixels up/right/up-right, but that leads to strange overlapping lines.
Is there any other approach that does what I want? Any ideas would be greatly appreciated. Thanks!