Lines Matching refs:x1
114 Psvg.prototype.strw=strw;function arc(x,y,r,a1,a2,arcn){var x1,y1,x2,y2
118 a2-=360;x1=x+r*Math.cos(a1*Math.PI/180);y1=y+r*Math.sin(a1*Math.PI/180)
119 if(gcur.cx!=undefined){if(path){if(x1!=gcur.cx||y1!=gcur.cy)
122 path+='m';path+=(x1-gcur.cx).toFixed(1)+" "+
123 (-(y1-gcur.cy)).toFixed(1)}else{gcur.cx=x1;gcur.cy=y1;path_def()}}else{if(path)
125 gcur.cx=x1;gcur.cy=y1;path_def()}
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)+' '+
143 Psvg.prototype.curveto=function(x1,y1,x2,y2,x,y){path_def();path+="\tC"+
144 (gcur.xoffs+x1).toFixed(1)+" "+(gcur.yoffs-y1).toFixed(1)+" "+
163 Psvg.prototype.rcurveto=function(x1,y1,x2,y2,x,y){path_def();path+="\tc"+
164 x1.toFixed(1)+" "+(-y1).toFixed(1)+" "+