[whatwg] proposed canvas 2d API additions

Sjoerd Visscher sjoerd at w3future.com
Fri Apr 21 16:10:57 PDT 2006


> I understand what you are proposing. What I don't understand is what 
> colour should be returned when the many device pixels represented by the 
> given coordinate space pixel have different colors.

The weighted average of the colors in the square the size of 1 by 1 
canvas pixels.

-- 
Sjoerd Visscher
http://w3future.com/weblog/



More information about the whatwg mailing list