Lines Matching refs:canvas

25 var canvas = new Array();  variable
1429 canvas[objects[i].id] = objects[i];
1439 for (d in canvas) {
1441 canvas[d].setAttribute("width",1);
1442 canvas[d].setAttribute("height",1);
1454 if(canvas[obj]) {
1455 w = canvas[obj].getAttribute("width");
1456 h = canvas[obj].getAttribute("height");
1470 if(canvas[obj]) {
1471 w = canvas[obj].getAttribute("width");
1472 h = canvas[obj].getAttribute("height");
1486 if(canvas[obj]) {
1487 w = canvas[obj].getAttribute("width");
1488 h = canvas[obj].getAttribute("height");
1538 canvas[obj].setAttribute("width",Math.floor(w*q));
1539 canvas[obj].setAttribute("height",Math.floor(h*q));
1540 canvas[obj].style.width=Math.floor(w*q)+"px";
1541 canvas[obj].style.height=Math.floor(h*q)+"px";
1555 canvas[obj].setAttribute("width",Math.floor(w*q));
1556 canvas[obj].setAttribute("height",Math.floor(h*q));
1557 canvas[obj].style.width=Math.floor(w*q)+"px";
1558 canvas[obj].style.height=Math.floor(h*q)+"px";
1572 canvas[obj].setAttribute("width",Math.floor(w*q));
1573 canvas[obj].setAttribute("height",Math.floor(h*q));
1574 canvas[obj].style.width=Math.floor(w*q)+"px";
1575 canvas[obj].style.height=Math.floor(h*q)+"px";
1956 var canvas = document.getElementById(canvasobj);
1958 if(canvas.getContext) {
1959 canvas_width = parseInt(canvas.style.width);
1960 canvas_height = parseInt(canvas.style.height);
2029 var canvas = document.getElementById(canvasobj);
2032 canvas.parentNode.removeChild(canvas.parentNode.lastChild);
2035 if(canvas.getContext) {
2036 var ctx = canvas.getContext('2d');
2127 canvas.parentNode.style.position = "relative";
2135 canvas.parentNode.appendChild(obj);
2194 var canvas = document.getElementById(canvasobj);
2195 if(canvas.getContext) {
2196 var ctx = canvas.getContext('2d');
2205 canvas.parentNode.removeChild(canvas.parentNode.lastChild);
2207 canvas.parentNode.style.position = "relative";
2215 canvas.parentNode.appendChild(obj);
2244 var canvas = document.getElementById(canvasobj);
2245 if(canvas.getContext) {
2246 var ctx = canvas.getContext('2d');