[whatwg] proposed canvas 2d API additions

Arve Bersvendsen arveb at opera.com
Tue Apr 25 00:38:32 PDT 2006


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



More information about the whatwg mailing list