paulstovell/DownmarkerWPF — comment on commit 05e3107e04fb725e67ac16e7013af0710c928adf
File: src/MarkPad/Framework/VisualExtensions.cs line 49
By paulstovell:

The below was adapted from this code:
http://stackoverflow.com/questions/4438244/how-to-calculate-shortest-2d-distance-between-a-point-and-a-line-segment-in-all