Lines Matching defs:stafflines

1034 var dx,i,j,meter,x,st=s.st,p_staff=staff_tb[st],y=p_staff.y;if(p_staff.stafflines!='|||||')
1075 var dx1,dx2,hl,shhd,hlp,stafflines=p_staff.stafflines,top=stafflines.length-1,yu=top,bot=p_staff.botline/6,yl=bot,dx=s.grace?4:hw_tb[s.head]*1.3
1095 while(i>bot&&stafflines[i]=='-')
1097 while(j<top&&stafflines[j]=='-')
1099 for(;i<j;i++){if(stafflines[i]=='-')
1161 if(s.rep_nb){set_sscale(s.st);anno_start(s);if(p_staff.stafflines=='|||||')
1172 if(i==7&&y==12&&p_staff.stafflines.length<=2)
1177 switch(i){default:switch(p_staff.stafflines[j+1]){case'|':case'[':break
1184 switch(p_staff.stafflines[j]){case'|':case'[':break
2051 function draw_staff(st,x1,x2){var w,ws,i,dy,ty,y=0,ln="",stafflines=staff_tb[st].stafflines,l=stafflines.length
2052 if(!/[\[|]/.test(stafflines))
2055 if(cache&&cache.st_l==stafflines&&cache.st_ws==(ws|0)){xygl(x1,staff_tb[st].y,'stdef'+cfmt.fullsvg)
2057 for(i=0;i<l;i++,y-=6){if(stafflines[i]=='.')
2060 for(;i<l;i++,y-=6,dy-=6){switch(stafflines[i]){case'.':case'-':continue
2064 ln+='"/>\n';ty=stafflines[i]
2069 if(!cache&&w>get_lwidth()-10){cache={st_l:stafflines,st_ws:ws|0}
2080 set_color(s.color);yb=p_staff.y+12;if(p_staff.stafflines!='|||||')
2134 if(sy.st_print[st]&&sy.staves[st].stafflines==cur_sy.staves[st].stafflines)
4466 mid[st]=(sy.staves[st].stafflines.length-1)*3
4486 mid[st]=(sy.staves[st].stafflines.length-1)*3
5355 p_staff.y=0;p_staff.stafflines=sy_staff.stafflines;p_staff.staffscale=sy_staff.staffscale;p_staff.ann_top=p_staff.ann_bot=0}
5371 l=p_staff.stafflines.length;p_staff.topbar=6*(l-1)
5372 for(i=0;i<l-1;i++){switch(p_staff.stafflines[i]){case'.':case'-':continue}
5375 if(i>=l-2){if(p_staff.stafflines[i]!='.'){p_staff.botbar-=6;p_staff.topbar+=6}else{p_staff.botbar-=12;p_staff.topbar+=12
5378 for(j=1;i<l;i++,j+=2){switch(p_staff.stafflines[i]){case'|':case'[':p_staff.hlmap[j-1]=1;p_staff.hlmap[j]=1;p_staff.hlmap[j+1]=1
5722 case"stafflines=":val=get_st_lines(a.shift())
5724 syntax(1,"Bad %%stafflines value")
5726 par_sy.staves[curvoice.st].stafflines=val
5728 curvoice.stafflines=val
8050 case"stafflines":case"staffscale":case"staffnonote":set_v_param(cmd,param)
8245 if(flags&FL_VOICE){p_voice.floating=true;p_voice.second=true}else{st++;if(!par_sy.staves[st]){par_sy.staves[st]={stafflines:p_voice.stafflines||"|||||",staffscale:1}}
8429 par_sy.staves[nstaff]={stafflines:curvoice.stafflines||"|||||",staffscale:1}}}
8441 par_sy.staves[v]={stafflines:p_voice.stafflines||"|||||",staffscale:1}}