- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 18 Oct 2009 05:41:03 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv4785 Modified Files: Overview.html Log Message: Clarify that everything in canvas happens with infinite bitmaps. (whatwg r4158) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3305 retrieving revision 1.3306 diff -u -d -r1.3305 -r1.3306 --- Overview.html 17 Oct 2009 09:51:00 -0000 1.3305 +++ Overview.html 18 Oct 2009 05:41:00 -0000 1.3306 @@ -216,7 +216,7 @@ <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> <!--ZZZ:--> <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>--> - <h2 class="no-num no-toc" id="editor-s-draft-17-october-2009">Editor's Draft 17 October 2009</h2> + <h2 class="no-num no-toc" id="editor-s-draft-18-october-2009">Editor's Draft 18 October 2009</h2> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!-- <dt>This Version:</dt> @@ -318,7 +318,7 @@ track. <!--ZZZ:--> <!--This specification is the 25 August 2009 Working Draft.--> - This specification is the 17 October 2009 Editor's Draft. + This specification is the 18 October 2009 Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are identical from the table of contents onwards.</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 --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -22582,8 +22582,9 @@ <p><a href="#when-shadows-are-drawn">When shadows are drawn</a>, they must be rendered as follows:</p> - <ol><li> <p>Let <var title="">A</var> be the source image for which a - shadow is being created.</p> </li> + <ol><li> <p>Let <var title="">A</var> be an infinite transparent black + bitmap on which the source image for which a shadow is being + created has been rendered.</p> </li> <li> <p>Let <var title="">B</var> be an infinite transparent black bitmap, with a coordinate space and an origin identical to <var title="">A</var>.</p> </li> @@ -22620,7 +22621,8 @@ <li> <p>The shadow is in the bitmap <var title="">B</var>, and is rendered as part of the drawing model described below.</p> </li> - </ol></div><h6 id="simple-shapes-rectangles"><span class="secno">4.8.11.1.7 </span>Simple shapes (rectangles)</h6><p>There are three methods that immediately draw rectangles to the + </ol></div><p>If the current composition operation is <code title="gcop-copy"><a href="#gcop-copy">copy</a></code>, shadows effectively won't render + (since the shape will overwrite the shadow).<h6 id="simple-shapes-rectangles"><span class="secno">4.8.11.1.7 </span>Simple shapes (rectangles)</h6><p>There are three methods that immediately draw rectangles to the bitmap. They each take four arguments; the first two give the <var title="">x</var> and <var title="">y</var> coordinates of the top left of the rectangle, and the second two give the width <var title="">w</var> and height <var title="">h</var> of the rectangle, respectively.<div class="impl"> @@ -23996,10 +23998,11 @@ <p>When a shape or image is painted, user agents must follow these steps, in the order given (or act as if they do):</p> - <ol><li><p>Render the shape or image, creating image <var title="">A</var>, as described in the previous sections. For - shapes, the current fill, stroke, and line styles must be honored, - and the stroke must itself also be subjected to the current - transformation matrix.</li> + <ol><li><p>Render the shape or image onto an infinite transparent black + bitmap, creating image <var title="">A</var>, as described in the + previous sections. For shapes, the current fill, stroke, and line + styles must be honored, and the stroke must itself also be + subjected to the current transformation matrix.</li> <li><p><a href="#when-shadows-are-drawn">When shadows are drawn</a>, render the shadow from image <var title="">A</var>, using the current shadow styles,
Received on Sunday, 18 October 2009 05:41:05 UTC