Lines Matching +defs:img +defs:src
1145 var src = "";
1149 src += "C"; // Bezier curve command. 'S' command is not yet supported.
1152 src += pt.cx+","+pt.cy+" ";
1154 src += this.points[i-1].x+","+this.points[i-1].y+" ";
1156 src += pt.dx+","+pt.dy+" ";
1158 src += pt.x+","+pt.y+" ";
1161 src += "M"; // Moveto command
1163 src += "L"; // Lineto command
1164 src += pt.x+","+pt.y;
1166 alldat.d = src;
1167 // Set point data source to src and forget about old field
1182 var src = obj.d;
1189 var ssrc = src.slice(last+1, k);
1206 for(var k = 0; k < src.length; k++){
1207 if("MCLS".indexOf(src.charAt(k)) >= 0)
1256 this.saveAsImage = function(img){
1263 img.src = canvas.toDataURL();
1519 /// Copy all properties in src to target, retaining target's existing properties
1520 /// that have different names from src's.
1521 function mixin(target, src){
1522 for(var k in src){
1523 target[k] = src[k];