[whatwg] proposed canvas 2d API additions

On Tue, 25 Apr 2006 00:17:36 +0200, Vladimir Vukicevic  
<vladimirv at gmail.com> wrote:

> Arve's example is how I imagined putPixels working -- basically as a
> potential optimization over a bunch of fillRect calls.

Two further clarifications:

1) x and y values for both get/setPixel are both floats.
2) We return a weighted average for getPixel, so if you getPixel(0.5,0.5)  
you get the weighted average of the points 0,0 0,1 1,0 1,1


-- 
Arve Bersvendsen, Opera Software ASA

Received on Tuesday, 25 April 2006 00:38:32 UTC