tags:

views:

159

answers:

1

Hello,

I'm actually developing a 2d graphic application that consist on drawing lines based on a specific hardware readings.

Actually, using System.Drawing.Graphics.DrawLine i'm able to draw the lines (this is the easy part).

But also, I need the intersection between two lines (the common pixel in both lines) to be identified, and also to be painted in other color than the line.

I've been trying with regions and graphicpaths, but I can't find the way to identify the common pixel (insersection) between two lines.

Can anybody help me?

Thank you, regards.