I am writing a Win32 application in Visual C ++ using Direct2D. I drew two lines, at the first coordinate (x1, y1) , and at the second - (x2, y2) . CompareWithGeometry function to determine if these lines intersect. The function replied that they do not overlap. Turned the first line by 20 degrees. Again called CompareWithGeometry . She said that now intersect.
I need to know the coordinates (x, y) of the intersection point. How can I do this in Direct2D?