Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-08-25 Thread Rik Cabanier
On Mon, Mar 24, 2014 at 7:31 AM, Justin Novosad ju...@google.com wrote: On Sat, Mar 22, 2014 at 4:20 AM, Dirk Schulze dschu...@adobe.com wrote: So can we agree on: addPath(Path, optional SVGMatrix) lgtm Firefox [1], WebKit [2] and Blink [3] implemented addPath with the matrix as an

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-24 Thread Justin Novosad
On Sat, Mar 22, 2014 at 4:20 AM, Dirk Schulze dschu...@adobe.com wrote: So can we agree on: addPath(Path, optional SVGMatrix) lgtm

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-22 Thread Dirk Schulze
So can we agree on: addPath(Path, optional SVGMatrix) (Independent of the discussion about CanvasPathMethods.) Does some one think it would be necessary to make SVGMatrix nullable (optional SVGMatrix?)? I think it would be superfluous. Greetings, Dirk On Mar 21, 2014, at 8:02 PM, Joe

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-21 Thread Joe Gregorio
On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze dschu...@adobe.com wrote: Hi, I just looked at the definition of Path.addPath[1]: void addPath(Path path, SVGMatrix? transformation); SVGMatrix is nullable but can not be omitted all together. Why isn’t it optional as well? I think it

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-20 Thread Justin Novosad
On Wed, Mar 19, 2014 at 5:47 PM, Rik Cabanier caban...@gmail.com wrote: On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad ju...@google.com wrote: I agree it should be optional, but just to play devil's advocate : you can create an identity SVGMatrix with a simpler bit of code. Just do this

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-20 Thread Rik Cabanier
On Thu, Mar 20, 2014 at 7:01 AM, Justin Novosad ju...@google.com wrote: On Wed, Mar 19, 2014 at 5:47 PM, Rik Cabanier caban...@gmail.com wrote: On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad ju...@google.com wrote: I agree it should be optional, but just to play devil's advocate : you

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-20 Thread Justin Novosad
On Thu, Mar 20, 2014 at 11:23 AM, Rik Cabanier caban...@gmail.com wrote: On Thu, Mar 20, 2014 at 7:01 AM, Justin Novosad ju...@google.com wrote: On Wed, Mar 19, 2014 at 5:47 PM, Rik Cabanier caban...@gmail.com wrote: On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad

[whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-19 Thread Dirk Schulze
Hi, I just looked at the definition of Path.addPath[1]: void addPath(Path path, SVGMatrix? transformation); SVGMatrix is nullable but can not be omitted all together. Why isn’t it optional as well? I think it should be optional, especially because creating an SVGMatrix at the moment

[whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-19 Thread Dirk Schulze
Hi, I just looked at the definition of Path.addPath[1]: void addPath(Path path, SVGMatrix? transformation); SVGMatrix is nullable but can not be omitted all together. Why isn’t it optional as well? I think it should be optional, especially because creating an SVGMatrix at the moment means

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-19 Thread Justin Novosad
On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze dschu...@adobe.com wrote: Hi, I just looked at the definition of Path.addPath[1]: void addPath(Path path, SVGMatrix? transformation); SVGMatrix is nullable but can not be omitted all together. Why isn’t it optional as well? I think it

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-19 Thread Rik Cabanier
On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad ju...@google.com wrote: On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze dschu...@adobe.com wrote: Hi, I just looked at the definition of Path.addPath[1]: void addPath(Path path, SVGMatrix? transformation); SVGMatrix is nullable but

Re: [whatwg] Canvas Path.addPath SVGMatrix not optimal?

2014-03-19 Thread Dirk Schulze
On Mar 19, 2014, at 10:48 PM, Rik Cabanier caban...@gmail.commailto:caban...@gmail.com wrote: On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad ju...@google.commailto:ju...@google.com wrote: On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze dschu...@adobe.commailto:dschu...@adobe.com wrote: