I wonder if anyone has some ideas on how I can draw an ARC between two lines to show the angle between them. (example is attached).
So far, I have used LineTo etc to draw the lines. I know the start and endpoints of both lines and have calculated each angle and the angle between them using standard trig functions. I can calculate the midpoint of the arc I wish to draw, but I am not sure how to proceed.
I have tried the CDC::Arc function but I am not sure how to work out the bounding rectangle of the Arc. I have also tried the AngleArc function but I don't want the extra line to be displayed. Would it be better to draw the arc myself or am I just using the functions incorrectly? (my math is a bit rusty)
Let me know what code I should post to recieve some help with this problem.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.