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

[whatwg] More random comments on the putImageData definition

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 11 Feb 2008 14:44:05 +1300
Message-ID: <11e306600802101744y6f4fd1f1rf87a89e259d8fcc3@mail.gmail.com>
On Feb 11, 2008 1:05 PM, Oliver Hunt <oliver at apple.com> wrote:
>
> i was thinking having a style property, say, canvas-dpi: auto|device or
> something, where the default auto value automagically does the evil
> downsampling the moment a data routine is used, and device would result in
> the right thing.  That said neither of these are particularly nice. OTOH it
> would allow those who use get/putImageData to implement a basic video buffer
> (eg. the msx demo, etc) to continue to do so.
>

Wouldn't it be equivalent, yet simpler, to just define get/putImageData to
do the evil 'auto' thing, and have additional methods to do the right
'device' thing?

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080211/85a32089/attachment.htm>
Received on Sunday, 10 February 2008 17:44:05 UTC

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