Lines Matching refs:shrink

3510 next.shrink=next.prev.wr+next.wl
3518 if(s.ts_next){if(s.seqst){if(s.ts_next.seqst){s.ts_next.shrink+=s.shrink;s.ts_next.space+=s.space}else{s.ts_next.seqst=true;s.ts_next.shrink=s.shrink;s.ts_next.space=s.space}}else{if(s.ts_next.seqst&&s.ts_prev&&s.ts_prev.seqst&&!w_tb[s.ts_prev.type]){s.ts_next.seqst=false
3519 s.shrink=s.ts_next.shrink
3610 for(;s;s=s.ts_next){if(s.shrink){x+=s.shrink;n++}
3620 if(s0.shrink)
3621 s0.shrink+=dw
3877 b.shrink=s.wr+3
3896 s=s.ts_next}while(s&&!s.seqst);s2.shrink=maxx-xa
3904 if(!s2.shrink&&!s2.space&&s2.type==C.CLEF){delete s2.seqst;s2.time=tim}
4025 p_voice=s.p_v;p_voice.last_sym=s.prev;p_voice.time=s.time;new_s=sym_add(p_voice,C.CUSTOS);new_s.next=s;s.prev=new_s;lktsym(new_s,s);new_s.shrink=s.shrink
4026 if(new_s.shrink<8+4)
4027 new_s.shrink=8+4;new_s.space=s2.space;new_s.wl=0;new_s.wr=4;new_s.nhd=s2.nhd;new_s.notes=[]
4092 if(s3.seqst){s3.shrink=s3.wl
4094 s3.shrink+=s3.prev.wr
4096 s3.next.shrink=s3.wr+s3.next.wl}
4150 function get_width(s,next){var shrink,space,w=0,wmx=0,sp_fac=(1-cfmt.maxshrink)
4151 while(s!=next){if(s.seqst){shrink=s.shrink
4152 wmx+=shrink
4153 if((space=s.space)<shrink)
4154 w+=shrink
4156 w+=shrink*cfmt.maxshrink
4163 function set_lines(s,next,lwidth,indent){var first,s2,s3,x,xmin,xmid,xmax,wwidth,shrink,space,ws,nlines,last=next?next.ts_prev:null
4175 s2=first=s;xmin=s.x-s.shrink-indent;xmax=xmin+lwidth;xmid=xmin+wwidth/nlines;xmin+=wwidth/nlines*cfmt.breaklimit;for(s=s.ts_next;s!=next;s=s.ts_next){if(!s.x)
4796 s=s.ts_next}while(s!=last_s&&!s.seqst);s2.shrink=shrmx;s2.space=0
4803 shr=s.wl;s=s.ts_next}while(s&&!s.seqst);last_s.shrink=shl+shr
5438 if(s.seqst){xmin+=s.shrink
5439 if(s.space){if(s.space<s.shrink){xse+=s.shrink;xx+=s.shrink}else{xx+=s.space}}else{xs+=s.shrink}}}
5446 x+=s.shrink;s.x=x}
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}}
5458 x+=s.space*spf<=s.shrink?s.shrink:s.space*spf