Lines Matching refs:head

133 switch(s.head){case C.SQUARE:dx+=3.5
200 switch(s.head){case C.SQUARE:dx+=3.5
305 dd.func=dd.name.indexOf("head-")==0?9:c_func;dd.glyph=a[2];dd.h=Number(h)
502 default:error(1,null,"Cannot have !$1! on a head",dd.name)
909 +(s.head!=C.FULL?4:9)
919 if(s.head!=C.FULL)
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
1252 var elts=identify_note(s,note.dur),head=elts[0],dots=elts[1],nflags=elts[2]
1253 if(note.invis){}else if(s.grace){p="ghd";x_note-=4.5*stv_g.scale}else if(note.map&&note.map[0]){i=s.head;p=note.map[0][i]
1260 p=p.slice(i+1)}}else if(s.type==C.CUSTOS){p="custos"}else{switch(head){case C.OVAL:p="HD"
1262 case C.OVALBARS:if(s.head!=C.SQUARE){p="HDD"
1310 if(s.head==C.FULL||s.head==C.EMPTY){x1+=(s.grace?GSTEM_XOFF:3.5)*s.stem
3373 function identify_note(s,dur_o){var head,flags,dots=0,dur=dur_o
3386 if(flags>=0){head=C.FULL}else switch(flags){default:error(1,s,"Note too long")
3388 case-4:head=C.SQUARE
3390 case-3:head=cfmt.squarebreve?C.SQUARE:C.OVALBARS
3392 case-2:head=C.OVAL
3394 case-1:head=C.EMPTY
3396 return[head,dots,flags]}
3397 function set_head_shift(s){var i,i1,i2,d,ps,dx,dx_head=dx_tb[s.head],dir=s.stem,n=s.nhd
3416 if(d>3||(d>=2&&s.head!=C.SQUARE)){shift=false}else{shift=!shift
3489 dx_head=dx_tb[s.head]
3642 switch(s.type){case C.NOTE:case C.REST:s.wr=wlnote=hw_tb[s.head]
3663 switch(s.head){case C.SQUARE:case C.OVALBARS:s.xmx+=3
3959 s.head=C.SQUARE;for(s=s2;s;s=s.ts_next){if(s.st==st&&s.v==v&&s.dur)
4322 s.head=C.FULL
4824 if(!s.next&&s.prev&&!s.invis&&s.prev.head==C.OVALBARS)
4825 s.prev.head=C.SQUARE
4830 case C.NOTE:case C.REST:res=identify_note(s,s.dur_orig);s.head=res[0];s.dots=res[1];s.nflags=res[2]
4841 if(s.trem2){s.prev.trem2=true;s.prev.nflags=--s.nflags;s.prev.head=++s.head
4979 function same_head(s1,s2){var i1,i2,l1,l2,head,i11,i12,i21,i22,sh1,sh2
5016 i12=i1;i22=i2;head=0
5019 head=2
5021 head=1}else if(l2<C.BLEN/4){if(s1.shiftunison&&(s1.shiftunison&2))
5023 head=s2.dur>=C.BLEN/2?2:1}else{return false}}
5024 if(!head)
5025 head=s1.p_v.scale<s2.p_v.scale?2:1
5026 if(head==1){for(i2=i21;i2<i22;i2++){s2.notes[i2].invis=true
5036 if(!acc){d=w_note[s2.head]*2+s2.xmx+s1.notes[i1].shac+2
5043 s1.xmx+=d}else{d=w_note[s1.head]*2+s1.xmx+s2.notes[i2].shac+2
5051 function set_left(s){var m,i,j,shift,w_base=w_note[s.head],w=w_base,left=[]
5068 if(s.head!=C.SQUARE)
5075 function set_right(s){var m,i,j,k,shift,w_base=w_note[s.head],w=w_base,flags=s.nflags>0&&s.beam_st&&s.beam_end,right=[]
5105 if(s.head!=C.SQUARE)
5254 for(g=s.extra;g;g=g.next){res=identify_note(s,g.dur);g.head=res[0];g.dots=res[1];g.nflags=res[2];slen=GSTEM
6772 document.head.appendChild(e)
7016 function put_history(){var i,j,c,str,font,h,w,wh,head,names=cfmt.infoname.split("\n"),n=names.length
7024 head=names[i].slice(2)
7025 if(head[0]=='"')
7026 head=head.slice(1,-1);vskip(h);wh=strwh(head);xy_str(0,0,head,null,null,wh);w=wh[0];str=str.split('\n');xy_str(w,0,str[0])
7541 var i,font,head='<svg xmlns="http://www.w3.org/2000/svg" version="1.1"\n\
7546 head+=cfmt.fgcolor+'" fill="'+cfmt.fgcolor+'"'
7548 head+='black"';head+=' stroke-width=".7"'
7550 head+=' style="background-color: '+cfmt.bgcolor+'"';font=get_font("music")
7551 head+=' class="'+font_class(font)+' tune'+tunes.length+'"\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'}
7555 head+=fulldefs
7557 head+='<style>\n.'+
7561 head+='<defs>'+defs+'\n</defs>\n'
7562 if(cfmt.scale!=1){head+='<g class="g" transform="scale('+
7567 user.img_out(head+output+g+"</svg>");output=""