- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 19 Feb 2009 10:20:12 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3988 Modified Files: Overview.html Log Message: remove XXX markers for canvas v4 notes, since they probably won't make this version of the spec (whatwg r2841) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2011 retrieving revision 1.2012 diff -u -d -r1.2011 -r1.2012 --- Overview.html 19 Feb 2009 09:14:22 -0000 1.2011 +++ Overview.html 19 Feb 2009 10:20:10 -0000 1.2012 @@ -16465,7 +16465,7 @@ void <a href=#dom-context-2d-transform title=dom-context-2d-transform>transform</a>(in float m11, in float m12, in float m21, in float m22, in float dx, in float dy); void <a href=#dom-context-2d-settransform title=dom-context-2d-setTransform>setTransform</a>(in float m11, in float m12, in float m21, in float m22, in float dx, in float dy); <!-- - // XXXv4 we've also received requests for: + // v4 we've also received requests for: void skew(...); void reflect(...); // or mirror(...) --> @@ -16473,7 +16473,7 @@ attribute float <a href=#dom-context-2d-globalalpha title=dom-context-2d-globalAlpha>globalAlpha</a>; // (default 1.0) attribute DOMString <a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>globalCompositeOperation</a>; // (default source-over) <!-- - // XXXv4 we've also received requests for: + // v4 we've also received requests for: - turning off antialiasing to avoid seams when patterns are painted next to each other - might be better to overdraw? - might be better to just draw at a higher res then downsample, like for 3d? @@ -16523,7 +16523,7 @@ attribute DOMString <a href=#dom-context-2d-textalign title=dom-context-2d-textAlign>textAlign</a>; // "start", "end", "left", "right", "center" (default: "start") attribute DOMString <a href=#dom-context-2d-textbaseline title=dom-context-2d-textBaseline>textBaseline</a>; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic") void <a href=#dom-context-2d-filltext title=dom-context-2d-fillText>fillText</a>(in DOMString text, in float x, in float y, [Optional] in float maxWidth); - void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in float x, in float y, [Optional] in float maxWidth);<!-- XXXDVT + void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in float x, in float y, [Optional] in float maxWidth);<!-- v4DVT void <span title="dom-context-2d-fillVerticalText">fillVerticalText</span>(in DOMString text, in float x, in float y, [Optional] in float maxHeight); void <span title="dom-context-2d-strokeVerticalText">strokeVerticalText</span>(in DOMString text, in float x, in float y, [Optional] in float maxHeight); --> <a href=#textmetrics>TextMetrics</a> <a href=#dom-context-2d-measuretext title=dom-context-2d-measureText>measureText</a>(in DOMString text); @@ -16597,7 +16597,7 @@ drawing state stack.<p>The <dfn id=dom-context-2d-restore title=dom-context-2d-restore><code>restore()</code></dfn> method must pop the top entry in the drawing state stack, and reset the drawing state it describes. If there is no saved state, the method - must do nothing.</p><!-- XXXv4 + must do nothing.</p><!-- v4 idea from Mihai: > 5. Drawing states should be saveable with IDs, and for easier restoring. > @@ -16922,7 +16922,7 @@ is passed, as its <var title="">image</var> argument, an animated image, the poster frame of the animation, or the first frame of the animation if there is no poster frame, must be used.</p><!-- drawImage() has an equivalent paragraph --><!-- - XXXv4 Requests for v4 features: + Requests for v4 features: * apply transforms to patterns, so you don't have to create transformed patterns manually by rendering them to an off-screen canvas then using that canvas as the pattern. @@ -16983,7 +16983,7 @@ initially have the value <code>10.0</code>.</p><!-- XXX this section doesn't say what these attributes return or what they do on setting. not a big deal; it's pretty obvious. but if anyone complains, we'll have to add it --><!-- -XXXv4 dashed lines have been requested. Philip Taylor provides these +v4: dashed lines have been requested. Philip Taylor provides these notes on what would need to be defined for dashed lines: > I don't think it's entirely trivial to add, to the detail that's > necessary in a specification. The common graphics APIs (at least @@ -17217,7 +17217,7 @@ clipping region, without affecting the actual subpaths. The new clipping region replaces the current clipping region.<p>When the context is initialized, the clipping region must be set to the rectangle with the top left corner at (0,0) and the width and - height of the coordinate space.</p><!-- XXXv4 + height of the coordinate space.</p><!-- v4 Jordan OSETE suggests: * support ways of extending the clipping region (union instead of intersection) - also "add", "subtract", "replace", "intersect" and "xor" @@ -17430,7 +17430,7 @@ </li> - </ol><!--XXXDVT - this is commented out until CSS can get its act together + </ol><!--v4DVT - this is commented out until CSS can get its act together enough to actual specify vertical text rendering (how long have we been waiting now?) @@ -17574,7 +17574,7 @@ </ol> -XXXDVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn> +v4DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn> method takes one argument, <var title="">text</var>. When the method is invoked, the user agent must replace all the <a href=#space-character title="space character">space characters</a> in <var title="">text</var> with @@ -17597,7 +17597,7 @@ obtain the bounding box dimensions of the text. If the text is to be rendered and removed, care needs to be taken to replace the entire area of the canvas that the clipping region covers, not just the box - given by the em square height and measured text width.</p><!-- XXXv4 Drawing text along a given path --><!-- XXXv4 Adding text to a path --><!-- see also: http://www.w3.org/TR/SVG11/text.html#TextpathLayoutRules --><!-- see also: http://developer.mozilla.org/en/docs/Drawing_text_using_a_canvas --><p class=note>A future version of the 2D context API may provide a + given by the em square height and measured text width.</p><!-- v4: Drawing text along a given path --><!-- v4: Adding text to a path --><!-- see also: http://www.w3.org/TR/SVG11/text.html#TextpathLayoutRules --><!-- see also: http://developer.mozilla.org/en/docs/Drawing_text_using_a_canvas --><p class=note>A future version of the 2D context API may provide a way to render fragments of documents, rendered using CSS, straight to the canvas. This would be provided in preference to a dedicated way of doing multiline layout.<h6 id=images><span class=secno>4.8.11.1.10 </span>Images</h6><p>To draw images onto the canvas, the <dfn id=dom-context-2d-drawimage title=dom-context-2d-drawImage><code>drawImage</code></dfn> method
Received on Thursday, 19 February 2009 10:20:23 UTC