Bug 82790

Summary: Support Path primitives
Product: WebKit Reporter: Dean Jackson <dino>
Component: CanvasAssignee: Dean Jackson <dino>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dongseong.hwang, eoconnor, guanqun.lu, junov, kangax, krit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 82792    

Dean Jackson
Reported 2012-03-30 15:36:58 PDT
Attachments
Radar WebKit Bug Importer
Comment 1 2012-03-30 15:37:34 PDT
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.