- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 21 Feb 2012 20:51:03 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv29327
Modified Files:
Overview.html
Log Message:
Use union types in the IDL blocks where possible. (whatwg r7002)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- Overview.html 1 Feb 2012 00:02:18 -0000 1.118
+++ Overview.html 21 Feb 2012 20:51:01 -0000 1.119
@@ -320,7 +320,7 @@
<h1>HTML Canvas 2D Context</h1>
<h2 class="no-num no-toc" id="generatedID"></h2>
- <h2 class="no-num no-toc" id="editor-s-draft-1-february-2012">Editor's Draft 1 February 2012</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-21-february-2012">Editor's Draft 21 February 2012</h2>
<dl><dt>Latest Published Version:</dt>
<dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd>
<dt>Latest Editor's Draft:</dt>
@@ -456,7 +456,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 1 February 2012 Editor's Draft.
+ This specification is the 21 February 2012 Editor's Draft.
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This specification is an extension to the HTML5 language. All
@@ -528,9 +528,7 @@
attribute any <a href="#dom-context-2d-fillstyle" title="dom-context-2d-fillStyle">fillStyle</a>; // (default black)
<a href="#canvasgradient">CanvasGradient</a> <a href="#dom-context-2d-createlineargradient" title="dom-context-2d-createLinearGradient">createLinearGradient</a>(double x0, double y0, double x1, double y1);
<a href="#canvasgradient">CanvasGradient</a> <a href="#dom-context-2d-createradialgradient" title="dom-context-2d-createRadialGradient">createRadialGradient</a>(double x0, double y0, double r0, double x1, double y1, double r1);
- <a href="#canvaspattern">CanvasPattern</a> <a href="#dom-context-2d-createpattern" title="dom-context-2d-createPattern">createPattern</a>(<span>HTMLImageElement</span> image, DOMString repetition);
- <a href="#canvaspattern">CanvasPattern</a> <a href="#dom-context-2d-createpattern" title="dom-context-2d-createPattern">createPattern</a>(<span>HTMLCanvasElement</span> image, DOMString repetition);
- <a href="#canvaspattern">CanvasPattern</a> <a href="#dom-context-2d-createpattern" title="dom-context-2d-createPattern">createPattern</a>(<span>HTMLVideoElement</span> image, DOMString repetition);
+ <a href="#canvaspattern">CanvasPattern</a> <a href="#dom-context-2d-createpattern" title="dom-context-2d-createPattern">createPattern</a>((<span>HTMLImageElement</span> or <span>HTMLCanvasElement</span> or <span>HTMLVideoElement</span>) image, DOMString repetition);
// line caps/joins
attribute double <a href="#dom-context-2d-linewidth" title="dom-context-2d-lineWidth">lineWidth</a>; // (default 1)
@@ -576,15 +574,9 @@
<a href="#textmetrics">TextMetrics</a> <a href="#dom-context-2d-measuretext" title="dom-context-2d-measureText">measureText</a>(DOMString text);
// drawing images
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLImageElement</span> image, double dx, double dy);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLImageElement</span> image, double dx, double dy, double dw, double dh);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLImageElement</span> image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLCanvasElement</span> image, double dx, double dy);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLCanvasElement</span> image, double dx, double dy, double dw, double dh);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLCanvasElement</span> image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLVideoElement</span> image, double dx, double dy);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLVideoElement</span> image, double dx, double dy, double dw, double dh);
- void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>(<span>HTMLVideoElement</span> image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
+ void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>((<span>HTMLImageElement</span> or <span>HTMLCanvasElement</span> or <span>HTMLVideoElement</span>) image, double dx, double dy);
+ void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>((<span>HTMLImageElement</span> or <span>HTMLCanvasElement</span> or <span>HTMLVideoElement</span>) image, double dx, double dy, double dw, double dh);
+ void <a href="#dom-context-2d-drawimage" title="dom-context-2d-drawImage">drawImage</a>((<span>HTMLImageElement</span> or <span>HTMLCanvasElement</span> or <span>HTMLVideoElement</span>) image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
// pixel manipulation
<a href="#imagedata">ImageData</a> <a href="#dom-context-2d-createimagedata" title="dom-context-2d-createImageData">createImageData</a>(double sw, double sh);
Received on Tuesday, 21 February 2012 20:51:09 UTC