I am creating an application that has a drawing element, rather like Visio.
It allows lines to connect various objects on screen. These lines can be at any angle (not just the compass points).
I need to be able to draw an arrow head at one end of the line. I suppose I could calculate the line angle and then calculate the points of the arrow triangle from this.
Is there an easier way? Perhaps a Win API function will automatically ad an arrow head to a line?