[html5] r8565 - [giow] (0) Make the matrix arguments to addPath() and addPathByStrokingPath() op [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 7 14:12:39 PDT 2014


Author: ianh
Date: 2014-04-07 14:12:37 -0700 (Mon, 07 Apr 2014)
New Revision: 8565

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Make the matrix arguments to addPath() and addPathByStrokingPath() optional, since they're the last argument and nullable in both cases.
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2014-04-03 03:44:35 UTC (rev 8564)
+++ complete.html	2014-04-07 21:12:37 UTC (rev 8565)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 April 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 7 April 2014</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -54819,8 +54819,8 @@
  <a href=#dom-path2d-merge title=dom-Path2D-merge>Constructor</a>(<a href=#path2d>Path2D</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> fillRule = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
  <a href=#dom-path2d-withdata title=dom-Path2D-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
 interface <dfn id=path2d>Path2D</dfn> {
-  void <a href=#dom-path2d-addpath title=dom-Path2D-addPath>addPath</a>(<a href=#path2d>Path2D</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
-  void <a href=#dom-path2d-addpathbystrokingpath title=dom-Path2D-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path2d>Path2D</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation);
+  void <a href=#dom-path2d-addpath title=dom-Path2D-addPath>addPath</a>(<a href=#path2d>Path2D</a> path, optional <a href=#svgmatrix>SVGMatrix</a>? transformation = null);
+  void <a href=#dom-path2d-addpathbystrokingpath title=dom-Path2D-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path2d>Path2D</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, optional <a href=#svgmatrix>SVGMatrix</a>? transformation = null);
   void <a href=#dom-path2d-addtext title=dom-Path2D-addText>addText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <a href=#dom-path2d-addpathbystrokingtext title=dom-Path2D-addPathByStrokingText>addPathByStrokingText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <a href=#dom-path2d-addtext title=dom-Path2D-addText>addText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, <a href=#path2d>Path2D</a> path, optional unrestricted double maxWidth);
@@ -56724,8 +56724,8 @@
 
    </dd>
 
-   <dt><var title="">path</var> . <code title=dom-Path2D-addPath><a href=#dom-path2d-addpath>addPath</a></code>(<var title="">path</var>, <var title="">transform</var>)</dt>
-   <dt><var title="">path</var> . <code title=dom-Path2D-addPathByStrokingPath><a href=#dom-path2d-addpathbystrokingpath>addPathByStrokingPath</a></code>(<var title="">path</var>, <var title="">styles</var>, <var title="">transform</var>)</dt>
+   <dt><var title="">path</var> . <code title=dom-Path2D-addPath><a href=#dom-path2d-addpath>addPath</a></code>(<var title="">path</var> [, <var title="">transform</var> ] )</dt>
+   <dt><var title="">path</var> . <code title=dom-Path2D-addPathByStrokingPath><a href=#dom-path2d-addpathbystrokingpath>addPathByStrokingPath</a></code>(<var title="">path</var>, <var title="">styles</var> [, <var title="">transform</var> ] )</dt>
 
    <dd>
 

Modified: index
===================================================================
--- index	2014-04-03 03:44:35 UTC (rev 8564)
+++ index	2014-04-07 21:12:37 UTC (rev 8565)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 April 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 7 April 2014</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -54819,8 +54819,8 @@
  <a href=#dom-path2d-merge title=dom-Path2D-merge>Constructor</a>(<a href=#path2d>Path2D</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> fillRule = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
  <a href=#dom-path2d-withdata title=dom-Path2D-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
 interface <dfn id=path2d>Path2D</dfn> {
-  void <a href=#dom-path2d-addpath title=dom-Path2D-addPath>addPath</a>(<a href=#path2d>Path2D</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
-  void <a href=#dom-path2d-addpathbystrokingpath title=dom-Path2D-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path2d>Path2D</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation);
+  void <a href=#dom-path2d-addpath title=dom-Path2D-addPath>addPath</a>(<a href=#path2d>Path2D</a> path, optional <a href=#svgmatrix>SVGMatrix</a>? transformation = null);
+  void <a href=#dom-path2d-addpathbystrokingpath title=dom-Path2D-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path2d>Path2D</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, optional <a href=#svgmatrix>SVGMatrix</a>? transformation = null);
   void <a href=#dom-path2d-addtext title=dom-Path2D-addText>addText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <a href=#dom-path2d-addpathbystrokingtext title=dom-Path2D-addPathByStrokingText>addPathByStrokingText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <a href=#dom-path2d-addtext title=dom-Path2D-addText>addText</a>(DOMString text, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation, <a href=#path2d>Path2D</a> path, optional unrestricted double maxWidth);
@@ -56724,8 +56724,8 @@
 
    </dd>
 
-   <dt><var title="">path</var> . <code title=dom-Path2D-addPath><a href=#dom-path2d-addpath>addPath</a></code>(<var title="">path</var>, <var title="">transform</var>)</dt>
-   <dt><var title="">path</var> . <code title=dom-Path2D-addPathByStrokingPath><a href=#dom-path2d-addpathbystrokingpath>addPathByStrokingPath</a></code>(<var title="">path</var>, <var title="">styles</var>, <var title="">transform</var>)</dt>
+   <dt><var title="">path</var> . <code title=dom-Path2D-addPath><a href=#dom-path2d-addpath>addPath</a></code>(<var title="">path</var> [, <var title="">transform</var> ] )</dt>
+   <dt><var title="">path</var> . <code title=dom-Path2D-addPathByStrokingPath><a href=#dom-path2d-addpathbystrokingpath>addPathByStrokingPath</a></code>(<var title="">path</var>, <var title="">styles</var> [, <var title="">transform</var> ] )</dt>
 
    <dd>
 

Modified: source
===================================================================
--- source	2014-04-03 03:44:35 UTC (rev 8564)
+++ source	2014-04-07 21:12:37 UTC (rev 8565)
@@ -60719,8 +60719,8 @@
  <span data-x="dom-Path2D-merge">Constructor</span>(<span>Path2D</span>[] paths, <span>CanvasFillRule</span> fillRule = "<span data-x="dom-context-2d-fillRule-nonzero">nonzero</span>"),
  <span data-x="dom-Path2D-withdata">Constructor</span>(DOMString d), Exposed=Window,Worker]
 interface <dfn>Path2D</dfn> {
-  void <span data-x="dom-Path2D-addPath">addPath</span>(<span>Path2D</span> path, <span>SVGMatrix</span>? transformation);
-  void <span data-x="dom-Path2D-addPathByStrokingPath">addPathByStrokingPath</span>(<span>Path2D</span> path, <span>CanvasDrawingStyles</span> styles, <span>SVGMatrix</span>? transformation);
+  void <span data-x="dom-Path2D-addPath">addPath</span>(<span>Path2D</span> path, optional <span>SVGMatrix</span>? transformation = null);
+  void <span data-x="dom-Path2D-addPathByStrokingPath">addPathByStrokingPath</span>(<span>Path2D</span> path, <span>CanvasDrawingStyles</span> styles, optional <span>SVGMatrix</span>? transformation = null);
   void <span data-x="dom-Path2D-addText">addText</span>(DOMString text, <span>CanvasDrawingStyles</span> styles, <span>SVGMatrix</span>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <span data-x="dom-Path2D-addPathByStrokingText">addPathByStrokingText</span>(DOMString text, <span>CanvasDrawingStyles</span> styles, <span>SVGMatrix</span>? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
   void <span data-x="dom-Path2D-addText">addText</span>(DOMString text, <span>CanvasDrawingStyles</span> styles, <span>SVGMatrix</span>? transformation, <span>Path2D</span> path, optional unrestricted double maxWidth);
@@ -62953,8 +62953,8 @@
 
    </dd>
 
-   <dt><var data-x="">path</var> . <code data-x="dom-Path2D-addPath">addPath</code>(<var data-x="">path</var>, <var data-x="">transform</var>)</dt>
-   <dt><var data-x="">path</var> . <code data-x="dom-Path2D-addPathByStrokingPath">addPathByStrokingPath</code>(<var data-x="">path</var>, <var data-x="">styles</var>, <var data-x="">transform</var>)</dt>
+   <dt><var data-x="">path</var> . <code data-x="dom-Path2D-addPath">addPath</code>(<var data-x="">path</var> [, <var data-x="">transform</var> ] )</dt>
+   <dt><var data-x="">path</var> . <code data-x="dom-Path2D-addPathByStrokingPath">addPathByStrokingPath</code>(<var data-x="">path</var>, <var data-x="">styles</var> [, <var data-x="">transform</var> ] )</dt>
 
    <dd>
 




More information about the Commit-Watchers mailing list