Lines Matching refs:toFixed

615 output+='m0 20v-20';output+='h'+w.toFixed(1)
934 xypath(x1,y1,true);output+='l'+x2.toFixed(1)+' '+(-dy2).toFixed(1)+'v'+h.toFixed(1)+'l'+(-x2).toFixed(1)+' '+dy2.toFixed(1)+'z"/>\n'}
1022 yb=staff_tb[j].y+staff_tb[j].botbar*staff_tb[j].staffscale;h=staff_tb[i].y+staff_tb[i].topbar*staff_tb[i].staffscale-yb;xypath(x,yb);output+="v"+(-h).toFixed(1)+'"/>\n'
1233 x1=bet1*x3+(1-bet1)*x0-x0;y1=bet1*y3+(1-bet1)*y0-dy1-y0;x2=bet2*x3+(1-bet2)*x0-x0;y2=bet2*y3+(1-bet2)*y0-dy2-y0;anno_start(s,'slur');xypath(x0,y0+staff_tb[s.st].y);output+='c'+x1.toFixed(1)+' '+(-y1).toFixed(1)+' '+x2.toFixed(1)+' '+(-y2).toFixed(1)+' '+(x3-x0).toFixed(1)+' '+(-y3+y0).toFixed(1)+'"/>\n';anno_stop(s,'slur')}
1370 ((xx1-x1)/stv_g.scale).toFixed(1)+' '+
1371 ((y1-yy1)/scale_y).toFixed(1)+' '+
1372 ((xx2-x1)/stv_g.scale).toFixed(1)+' '+
1373 ((y1-yy2)/scale_y).toFixed(1)+' '+
1374 ((x2-x1)/stv_g.scale).toFixed(1)+' '+
1375 ((y1-y2)/scale_y).toFixed(1)
1378 (-dz).toFixed(1)+'c'+
1379 ((xx2-dx-x2)/stv_g.scale).toFixed(1)+' '+
1380 ((y2+dz-yy2-dy)/scale_y).toFixed(1)+' '+
1381 ((xx1+dx-x2)/stv_g.scale).toFixed(1)+' '+
1382 ((y2+dz-yy1-dy)/scale_y).toFixed(1)+' '+
1383 ((x1-x2)/stv_g.scale).toFixed(1)+' '+
1384 ((y2-y1)/scale_y).toFixed(1)
1989 p_voice.scale_str='transform="scale('+p_voice.scale.toFixed(2)+')"'}
2034 (posy-dy).toFixed(1)+') '+'scale('+p_staff.staffscale.toFixed(2)+')"'}}
2061 case ty:ln+='m-'+ws.toFixed(1)+' '+dy+'h'+ws.toFixed(1);dy=0
2066 (ty=='['?'slthW':'slW')+'" d="m0 '+y+'h'+ws.toFixed(1);dy=0}
2088 for(i=bar_type.length;--i>=0;){switch(bar_type[i]){case"|":if(s.bar_dotted){set_sscale(-1);w=(5*p_staff.staffscale).toFixed(1);out_XYAB('<path class="bW" stroke-dasharray="A,A" d="MX Yv-G"/>\n',x,bot,w,h)}else if(s.color){out_XYAB('<path class="bW" d="MX Yv-F"/>\n',x,bot,h)}else{sb.push(new Float32Array([x,bot,h]))}
2239 xp.toFixed(1)+' '+
2240 sy(p_st.y+d*i).toFixed(1)
2247 (x2-xp+hl[1]-dx2).toFixed(1)+' 0h'+(-hl[1]+hl[2]).toFixed(1)
2988 return r+font.size.toFixed(1)+'px '+n}
5344 output+='h'+s.l.toFixed(1)+'"/>\n';vskip(s.sk2);break
5444 error(1,s,"Line too much shrunk $1 $2 $3",xmin.toFixed(1),xx.toFixed(1),width.toFixed(1));x=0
6875 output+='" lengthAdjust="'+gene.curfont.wadj+'" textLength="'+wh[0].toFixed(1);output+='" x="';out_sxsy(x,'" y="',y+wh[1]*.2)
6878 case'j':output+='" textLength="'+w.toFixed(1)+'">'
7217 (posy-stv_g.dy).toFixed(1)+') scale('+stv_g.scale.toFixed(2)+')"'}
7255 (-staff_tb[st].y).toFixed(1)+')">\n'+
7276 function out_XYAB(str,x,y,a,b){x=sx(x);y=sy(y);output+=str.replace(/X|Y|A|B|F|G/g,function(c){switch(c){case'X':return x.toFixed(1)
7277 case'Y':return y.toFixed(1)
7280 case'F':return a.toFixed(1)
7281 default:return b.toFixed(1)}})}
7284 output+=') rotate('+rot.toFixed(2)
7286 output+=') scale('+sx.toFixed(2)+', '+sy.toFixed(2)
7288 output+=') scale('+sx.toFixed(2)}
7314 function out_sxsy(x,sep,y){x=sx(x);y=sy(y);output+=x.toFixed(1)+sep+y.toFixed(1)}
7326 v.push(e.toFixed(1))}
7332 v.push(e.toFixed(1))}
7342 output+='M'+e.toFixed(1)+' '+gla[3].shift().toFixed(1)+'v'+gla[3].shift().toFixed(1)}
7353 x.toFixed(1)+','+y.toFixed(1)+') scale(2.5,'+h.toFixed(2)+')">'+tgls.brace.c+'</text>\n'}
7354 function out_bracket(x,y,h){x+=posx-5;y=posy-y-3;h+=2;output+='<path d="m'+x.toFixed(1)+' '+y.toFixed(1)+'\n\
7356 v'+h.toFixed(1)+'\n\
7393 function out_tubr(x,y,dx,dy,up){var h=up?-3:3;y+=h;dx/=stv_g.scale;output+='<path class="stroke" d="m';out_sxsy(x,' ',y);output+='v'+h.toFixed(1)+'l'+dx.toFixed(1)+' '+(-dy).toFixed(1)+'v'+(-h).toFixed()+'"/>\n'}
7398 y+=6;output+='<path class="stroke" d="m';out_sxsy(x,' ',y);output+='v'+h.toFixed(1)+'m'+dx.toFixed(1)+' '+(-dy).toFixed(1)+'v'+(-h).toFixed(1)+'"/>\n'+'<path class="stroke" stroke-dasharray="'+
7399 ((dx-sw)/2).toFixed(1)+' '+sw.toFixed(1)+'" d="m';out_sxsy(x,' ',y-h);output+='l'+dx.toFixed(1)+' '+(-dy).toFixed(1)+'"/>\n'}
7413 output+='-2.2m0 -3.6l'+(-val).toFixed(1)+' -2.2"/>\n'
7415 output+='-4l'+(-val).toFixed(1)+' -4"/>\n'}
7419 output+='-2.2m0 -3.6l'+(-val).toFixed(1)+' -2.2"/>\n'
7421 output+='-4l'+(-val).toFixed(1)+' -4"/>\n'}
7461 function out_gliss(x2,y2,de){var de1=de.start,x1=de1.x,y1=de1.y+staff_tb[de1.st].y,ar=-Math.atan2(y2-y1,x2-x1),a=ar/Math.PI*180,len=(x2-x1)/Math.cos(ar);g_open(x1,y1,a);x1=de1.s.dots?13+de1.s.xmx:8;len-=x1+8;xypath(x1,0);output+='h'+len.toFixed(1)+'" stroke-width="1"/>\n';g_close()}
7495 (gene.curfont.size*1.3).toFixed(1)+'px"'+
7510 (gene.curfont.size*1.3).toFixed(1)+'px" dy="-.05em">'+
7536 output+='" width="'+(s.tempo_wh[0]+2).toFixed(1)+'" height="'+bh.toFixed(1)+'"/>\n'}
7553 if(user.imagesize){head+=user.imagesize+' viewBox="0 0 '+img.width.toFixed(0)+' '+
7554 posy.toFixed(0)+'">\n'}else{head+=' width="'+img.width.toFixed(0)+'px" height="'+posy.toFixed(0)+'px">\n'}
7563 cfmt.scale.toFixed(2)+')">\n';g='</g>\n'}
8014 vskip(h1);output+='<path class="stroke"\n\td="M';out_sxsy((lwidth-len)/2/cfmt.scale,' ',0);output+='h'+(len/cfmt.scale).toFixed(1)+'"/>\n';vskip(h2);blk_flush()