Bug 12924 - PathTraversalState's normalAngleAtLength/pointAtLength don't work.
Summary: PathTraversalState's normalAngleAtLength/pointAtLength don't work.
Status: RESOLVED DUPLICATE of bug 12925
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 03:46 PST by Nikolas Zimmermann
Modified: 2007-02-28 03:48 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2007-02-28 03:46:10 PST
Path::pointAtLength() uses PathTraversalState to iterate through the segments. This comment says it all: "// FIXME: Need to actually find the exact point and change m_current".

For Path::normalAngleAtLength() to work the tangent slope calculation has to be corrected. Attaching patch to fix both.
Comment 1 Nikolas Zimmermann 2007-02-28 03:47:59 PST

*** This bug has been marked as a duplicate of 12925 ***
Comment 2 Nikolas Zimmermann 2007-02-28 03:48:31 PST
Sorry, accidently filed this bug twice :(