W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] createImageData -> new ImageData() ?

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 10 Feb 2008 09:21:34 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0802100912150.20115@hixie.dreamhostps.com>
On Sun, 3 Feb 2008, Anne van Kesteren wrote:
>
> Why not give the object a constructor? I think that's cleaner. Also, 
> Opera already supports that :-)

The relationship between the height and width arguments and the height and 
width of the ImageData structure returned can vary on a per-canvas basis.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 10 February 2008 01:21:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC