[whatwg] proposed canvas 2d API additions

Ian Hickson ian at hixie.ch
Fri Apr 21 16:16:33 PDT 2006


On Sat, 22 Apr 2006, Sjoerd Visscher wrote:
> >
> > 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.

Weighted how?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list