Lines Matching refs:x2
114 Psvg.prototype.strw=strw;function arc(x,y,r,a1,a2,arcn){var x1,y1,x2,y2
126 if(a1==a2){a2=180-a1;x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
128 (x2-x1).toFixed(2)+' '+
132 (x1-x2).toFixed(2)+' '+
133 (y2-y1).toFixed(2)+'\n';gcur.cx=x1;gcur.cy=y1}else{x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
135 (x2-x1).toFixed(2)+' '+
136 (y1-y2).toFixed(2)+'\n';gcur.cx=x2;gcur.cy=y2}}
143 Psvg.prototype.curveto=function(x1,y1,x2,y2,x,y){path_def();path+="\tC"+
145 (gcur.xoffs+x2).toFixed(1)+" "+(gcur.yoffs-y2).toFixed(1)+" "+
163 Psvg.prototype.rcurveto=function(x1,y1,x2,y2,x,y){path_def();path+="\tc"+
165 x2.toFixed(1)+" "+(-y2).toFixed(1)+" "+