Implement Segment#getLocation()
Further improve stroke hit-testing.

Properly detect all miter joins.