On Mon, Nov 22, 2010 at 6:22 PM, Charles Pritchard <span dir="ltr"><<a href="mailto:chuck@jumis.com">chuck@jumis.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I've a deep and detailed understanding of the SVG, HTML, DOM and CSS specs.<br></blockquote><div><br>Just out of interest, why aren't you using SVG?<br><br>I understand the need to make canvas backing store pixels map to device pixels when possible. Suppose that, on clearing the canvas (e.g. by setting the width or height attribute), the browser automatically set the canvas backing store density so that canvas backing store pixels map to device pixels (taking into account the current zoom settings). Suppose further that browsers fired the 'resize' event when they zoom in a way that changes the window size (as they should, even if they currently don't). Then on 'resize' you could clear your canvas and redraw it, and automatically get a canvas backing store with the right resolution with no further code changes. Would that address your use case?<br>
<br>Rob<br></div></div>-- <br>"Now the Bereans were of more noble character than the 
Thessalonians, for they received the message with great eagerness and 
examined the Scriptures every day to see if what Paul said was true." [Acts 17:11]<br>