Lines Matching refs:xx
3639 Abc.prototype.set_width=function(s){var s2,i,m,xx,w,wlnote,wlw,acc,bar_type,meter,last_acc,n1,n2,esp,tmp
3648 for(m=0;m<=s.nhd;m++){xx=s.notes[m].shhd
3649 if(xx<0){if(wlnote<-xx+5)
3650 wlnote=-xx+5}
3696 case C.SPACE:xx=s.width/2;s.wr=xx
3698 xx=gchord_width(s,xx,xx)
3700 xx+=deco_width(s);s.wl=xx
5435 Abc.prototype.set_sym_glue=function(width){var s,g,ll,some_grace,spf,xmin=0,xx=0,x=0,xs=0,xse=0
5439 if(s.space){if(s.space<s.shrink){xse+=s.shrink;xx+=s.shrink}else{xx+=s.space}}else{xs+=s.shrink}}}
5440 if(!xx){realwidth=0
5444 error(1,s,"Line too much shrunk $1 $2 $3",xmin.toFixed(1),xx.toFixed(1),width.toFixed(1));x=0
5447 spf_last=0}else if((ll&&xx+xs>width*(1-cfmt.stretchlast))||(!ll&&(xx+xs>width||cfmt.stretchstaff))){if(xx==xse)
5448 xx+=5
5449 for(var cnt=4;--cnt>=0;){spf=(width-xs-xse)/(xx-xse);xx=0;xse=0;x=0
5450 for(s=tsfirst;s;s=s.ts_next){if(s.seqst){if(s.space){if(s.space*spf<=s.shrink){xse+=s.shrink;xx+=s.shrink;x+=s.shrink}else{xx+=s.space;x+=s.space*spf}}else{x+=s.shrink}}
5454 spf_last=spf}else{spf=(width-xs-xse)/xx
8552 function ly_width(s,wlw){var ly,sz,swfac,align,xx,w,i,j,k,shift,p,a_ly=s.a_ly;align=0
8558 w=ly.wh[0];swfac=ly.font.swfac;xx=w+2*cwid(' ')*swfac
8568 align=shift}}else{shift=xx*.4
8573 wlw=shift;xx-=shift;shift=2*cwid(' ')*swfac
8575 xx-=9
8577 xx-=shift
8580 if(xx<=0)
8583 case C.CLEF:case C.METER:case C.KEY:xx-=10
8585 default:xx-=5
8588 if(xx>s.wr)
8589 s.wr=xx}