Lines Matching refs:x
94 of()},draw_symbols:function(of,p_voice){var i,m,nl,note,s,s2,x,y,C=abc2svg.C,abc=this,dot="\ue1e7",staff_tb=abc.get_staff_tb(),out_svg=abc.out_svg,out_sxsy=abc.out_sxsy,xypath=abc.xypath
98 xypath(s1.x-3,y+24)
99 out_svg('h'+(s2.x-s1.x+8).toFixed(1)+'"/>\n')
110 function out_mus(x,y,p){out_svg('<text x="')
111 out_sxsy(x,'" y="',y)
113 function out_txt(x,y,p){out_svg('<text class="bn" x="')
114 out_sxsy(x,'" y="',y)
116 function draw_hd(s,x,y){var m,note,ym
118 out_txt(x-3.5,y+8,"01234567."[note.jn])
120 if(note.acc>0){out_sxsy(x-6,' ',y+10)
121 out_svg("l12 -6")}else{out_sxsy(x-6,' ',y+16)
124 if(note.jo>2){out_mus(x-1,y+23,dot)
126 out_mus(x-1,y+23.4,dot)}}else if(note.jo<2){ym=y+4
127 out_mus(x-1,ym,dot)}
131 switch(s.type){case C.NOTE:case C.REST:x=s.x
133 draw_hd(s,x,y)