html5/spec Overview.html,1.2676,1.2677

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30727

Modified Files:
	Overview.html 
Log Message:
Move diagram for drawImage() up into the intro text. (whatwg r3474)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2676
retrieving revision 1.2677
diff -u -d -r1.2676 -r1.2677
--- Overview.html	27 Jul 2009 23:11:13 -0000	1.2676
+++ Overview.html	27 Jul 2009 23:15:31 -0000	1.2677
@@ -22091,7 +22091,10 @@
 
    <dd>
 
-    <p>Draws the given image onto the canvas. The arguments are interpreted as per the diagram below.</p>
+    <p>Draws the given image onto the canvas. The arguments are
+    interpreted as follows:</p>
+
+    <p><img alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle." src="images/drawImage.png"></p>
 
     <p>If the first argument isn't an <code><a href="#the-img-element">img</a></code>,
     <code><a href="#the-canvas-element">canvas</a></code>, or <code><a href="#video">video</a></code> element, throws a
@@ -22172,10 +22175,6 @@
   <p class="note">This specification does not define the algorithm to
   use when scaling the image, if necessary.</p>
 
-  </div><p><img alt="" src="images/drawImage.png"></p><!-- no alt="" text
-  since the image is just repeating what was stated in the previous
-  paragraph. --><div class="impl">
-
   <p class="note">When a canvas is drawn onto itself, the drawing
   model requires the source to be copied before the image is drawn
   back onto the canvas, so it is possible to copy parts of a canvas

Received on Monday, 27 July 2009 23:15:44 UTC