[Webkit-unassigned] [Bug 12047] New: SVGPathSegList needs getTotalLength, getSegmentAtLength path traversal code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 31 13:20:29 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=12047

           Summary: SVGPathSegList needs getTotalLength, getSegmentAtLength
                    path traversal code
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org
                CC: zimmermann at kde.org


SVGPathSegList needs getTotalLength, getSegmentAtLength path traversal code

Now that bug 12033 is complete SVGPathElement::getTotalLength works.  However
right now it uses toPathData() (without any caching).  In some cases it would
be more efficient to use a getTotalLength function on a SVGPathSegList
(assuming one is already created for DOM use).  Certainly getSegmentAtLengh
should traverse the SVGPathSegList instead of the Path object.

This bug covers implementing SVGPathSegList path traversal functions.

The major question to answer with regards to SVGPathSegList is whether to
support non-normalized path traversal or not.  (For example, we'd have to
automatically process arcs into curves, or write code to measure arc length in
addition to the existing code for measuring bezier curve lengths)


-- 
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