Skip to content

Commit

Permalink
[e] (0) Clarify that everything in canvas happens with infinite bitmaps.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4158 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 18, 2009
1 parent 98d4100 commit b09460f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 20 deletions.
17 changes: 11 additions & 6 deletions complete.html
Expand Up @@ -25725,8 +25725,9 @@ <h6 id=shadows><span class=secno>4.8.11.1.6 </span><dfn>Shadows</dfn></h6>

<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>
Expand Down Expand Up @@ -25765,6 +25766,9 @@ <h6 id=shadows><span class=secno>4.8.11.1.6 </span><dfn>Shadows</dfn></h6>

</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).</p>


<h6 id=simple-shapes-(rectangles)><span class=secno>4.8.11.1.7 </span>Simple shapes (rectangles)</h6>

Expand Down Expand Up @@ -27197,10 +27201,11 @@ <h6 id=drawing-model><span class=secno>4.8.11.1.12 </span>Drawing model</h6>
<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,
Expand Down
19 changes: 12 additions & 7 deletions index
Expand Up @@ -111,7 +111,7 @@

<header class=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 17 October 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 18 October 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -25554,8 +25554,9 @@ notes on what would need to be defined for dashed lines:

<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>
Expand Down Expand Up @@ -25594,6 +25595,9 @@ notes on what would need to be defined for dashed lines:

</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).</p>


<h6 id=simple-shapes-(rectangles)><span class=secno>4.8.11.1.7 </span>Simple shapes (rectangles)</h6>

Expand Down Expand Up @@ -27026,10 +27030,11 @@ function AddCloud(data, x, y) { ... }</pre>
<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,
Expand Down
19 changes: 12 additions & 7 deletions source
Expand Up @@ -27867,8 +27867,9 @@ notes on what would need to be defined for dashed lines:

<ol>

<li> <p>Let <var title="">A</var> be the source image for which a
shadow is being created.</p> </li>
<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
Expand Down Expand Up @@ -27924,6 +27925,10 @@ notes on what would need to be defined for dashed lines:

</div>

<p>If the current composition operation is <code
title="gcop-copy">copy</code>, shadows effectively won't render
(since the shape will overwrite the shadow).</p>


<h6>Simple shapes (rectangles)</h6>

Expand Down Expand Up @@ -29665,11 +29670,11 @@ function AddCloud(data, x, y) { ... }</pre>

<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.</p></li>
<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.</p></li>

<li><p><span>When shadows are drawn</span>, render the shadow from
image <var title="">A</var>, using the current shadow styles,
Expand Down

0 comments on commit b09460f

Please sign in to comment.