StetHD / cakejs

Automatically exported from code.google.com/p/cakejs
0 stars 0 forks source link

Path#pointAngleAt mishandles arcs #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create path with a line and an arc.
2. Get path.pointAngleAt(0.3)

What is the expected output? What do you see instead?

Expected to return a point on the line. Returns a point on the arc.

Happens because arcs split into bezier curves, which messes up the
segment-wise interpolation.

Original issue reported on code.google.com by Ilmari.H...@gmail.com on 19 Mar 2008 at 5:27

GoogleCodeExporter commented 8 years ago
Fixed, arcs carry an arc-specific id on their curves now.

Original comment by Ilmari.H...@gmail.com on 21 Mar 2008 at 4:37