WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 97333
82790
Support Path primitives
https://bugs.webkit.org/show_bug.cgi?id=82790
Summary
Support Path primitives
Dean Jackson
Reported
2012-03-30 15:36:58 PDT
Canvas v5 API has Path primitives
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-03-30 15:37:34 PDT
<
rdar://problem/11159162
>
Dongseong Hwang
Comment 2
2012-06-29 23:20:23 PDT
Canvas v5 API has Path interface, and it is conflict with platform/graphics/Path.h One of both needs to change the name. interface Path { void addPath(Path path, SVGMatrix? transformation); void addPathByStrokingPath(Path path, CanvasDrawingStyles styles, SVGMatrix? transformation); void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth); void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth); void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth); void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth); };
Dongseong Hwang
Comment 3
2012-06-29 23:24:31 PDT
(In reply to
comment #2
)
> Canvas v5 API has Path interface, and it is conflict with platform/graphics/Path.h > > One of both needs to change the name.
Sorry. I understand now that platform/graphics/Path.h can implement CanvasPathMethods, and there is no problem.
> > interface Path { > void addPath(Path path, SVGMatrix? transformation); > void addPathByStrokingPath(Path path, CanvasDrawingStyles styles, SVGMatrix? transformation); > void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth); > void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth); > void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth); > void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth); > };
Dirk Schulze
Comment 4
2013-01-08 14:28:29 PST
*** This bug has been marked as a duplicate of
bug 97333
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug