On Feb 11, 2008 1:05 PM, Oliver Hunt <<a href="mailto:oliver@apple.com">oliver@apple.com</a>> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div>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.</div>
<div class="Ih2E3d"><div></div></div></div></div></blockquote><div><br>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?<br>
<br>Rob<br></div></div>-- <br>"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]