7-arg drawImage() call

The following text from Section 12 Images [1] seems to imply a 7-argument drawImage() call:

"If not specified, the dw and dh arguments must default to the values of sw and sh, interpreted such that one CSS pixel in the image is treated as one unit in the canvas coordinate space."

To not specify those two arguments would be to make a function call like so: drawImage(image, sx, sy, sw, dx, dy). In the latest version of the spec, such a drawImage function call is not specified and neither do any of the major browser vendors implement this function. 

Was the intention of the spec to define a fourth variation of the drawImage() call? If not, we should change the text to not make such an implication.

Thanks,
Jatinder

[1] http://www.w3.org/TR/2dcontext/#images 

Jatinder Mann | Microsoft Program Manager | jmann@microsoft.com

Received on Saturday, 17 July 2010 02:15:29 UTC