Re: Dynamic canvas resize without grawings rescaled?

2012-12-18 Thread RyanZA
When you resize an html5 canvas, the contents will be cleared. You can get around this by creating a second canvas without attaching it to the DOM, and then 1.drawing the original canvas on to the new temporary canvas 2.resize the original canvas (which will clear it) - make sure to use

Dynamic canvas resize without grawings rescaled?

2012-12-17 Thread membersound
I have a gwt canvas which should take the whole space of the main centered contend in a docklayout. g:DockLayoutPanel unit='PCT' //... g:center g:Label c:Canvas... /g:Label /g:center Now, If I resize the browser window, I do NOT want the painted graphics to be resized. Only