[whatwg] Canvas Path.addPath SVGMatrix not optimal?
jcgregorio at google.com
Fri Mar 21 12:01:13 PDT 2014
On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze <dschulze at adobe.com> wrote:
> I just looked at the definition of Path.addPath:
> 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 writing:
> var matrix = document.createElementNS('http://www.w3.org/2000/svg
Agreed, that's painful, +1 for making it optional.
More information about the whatwg