Tag Archives: arrowheads

Draw arc wedges in C#

This example defines several extension methods that draw various interesting items including the one that I originally set out to draw: arc wedges. The extension methods let you easily draw arc wedges, arcs with tic marks, line segments with tic … Continue reading

Posted in drawing, graphics, mathematics | Tagged , , , , , , , , , , , , | 2 Comments

Draw lines with arrowheads in C#

If <vx, vy> is a vector between two points, then <-vy, vx> and <vy, -vx> are perpendicular vectors of the same length. If you add and subtract these vectors from the original one, you get new vectors that make a … Continue reading

Posted in algorithms, geometry, graphics, mathematics | Tagged , , , , , , , , , , , | 3 Comments