WPF demo point to line distance