[Webkit-unassigned] [Bug 12033] SVG needs ability to calculate path lengths
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 29 23:27:55 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=12033
------- Comment #1 from macdome at opendarwin.org 2006-12-29 23:27 PDT -------
Created an attachment (id=12116)
--> (http://bugs.webkit.org/attachment.cgi?id=12116&action=view)
first (incomplete) stab
What can I say? I felt inspired.
It's kinda amusing how the 100+ lines of mozilla code which I used to start
this, *completely* morphed and turned into about 20 lines of WebKit code.
This is still not done. This only supports calculating path lengths from Path
objects, not yet from SVGPathSegList objects, but that second part won't be
hard to add.
When adding the SVGPathSegList code, we'll also add the ability to walk a path
and find the segment at a specific length.
The only tricky part about adding the SVGPathSegList support is handling SVG
Arc segments. There is additional mozilla code we can use to convert from Arcs
to curves however.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list