[Webkit-unassigned] [Bug 96826] New: Implement Path objects for canvas
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 14 14:47:15 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=96826
Summary: Implement Path objects for canvas
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://dev.w3.org/html5/2dcontext/#path-objects
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: simon.fraser at apple.com, cabanier at adobe.com,
pdr at google.com
The Path object from Canvas is basically a web adaption from our Path object in WebKit and would be extremely easy to implement.
However, the SVG WG would like to use the Path() object as well and make it possible to append such a path object to a <path> element. Like we know from the different DRT texts from different platforms, graphics libraries flatten the path in different way or don't give access to the data at all. This would mean that we need to be aware of all path data all the time.
In SVG we have a very efficient bytestream that is optimal for this use case (since new data get added, but existing segments not removed or modified). On drawing, it is very easy to produce the WebKit Path object. SVG paths and Canvas paths are very similar. SVG is missing support for arc and arcTo. The former one gets added to SVG2, the later one needs to be flattened.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list