Line Drawing (joining the dots!!)
-
Hi all can anyone tell me if a function exists which draws a line segment or series of line segments which adds each point in the line to an array of points?? It would also have to take into account the width of the line drawn!!! Basically i want to be able to draw a line then click on it and compare the mouse click point against all points in the line for a match?? Any ideas would be great!! Regards, Paul Paul Griffin
-
Hi all can anyone tell me if a function exists which draws a line segment or series of line segments which adds each point in the line to an array of points?? It would also have to take into account the width of the line drawn!!! Basically i want to be able to draw a line then click on it and compare the mouse click point against all points in the line for a match?? Any ideas would be great!! Regards, Paul Paul Griffin
you need to work with
GraphicsPath
usingPathData
, look atPathData.Points
"When the only tool you have is a hammer, a sore thumb you will have."
-
Hi all can anyone tell me if a function exists which draws a line segment or series of line segments which adds each point in the line to an array of points?? It would also have to take into account the width of the line drawn!!! Basically i want to be able to draw a line then click on it and compare the mouse click point against all points in the line for a match?? Any ideas would be great!! Regards, Paul Paul Griffin