Lines Matching refs:hr
8 function build_grid(chords,bars,font,wmx){var i,k,l,nr,bar,w,hr,x0,x,y,yl,lc='',cells=[],nc=grid.n
23 function build_cell(cell,x,y,yl,hr){if(cell.length>1){abc.out_svg(abc2svg.grid.pl)
26 wmx.toFixed(1)+' -'+hr.toFixed(1)+'"/>\n')
28 abc.out_sxsy(x-wmx/2,' ',yl+hr)
30 (wmx/2).toFixed(1)+' '+(hr/2).toFixed(1)+'"/>\n')
33 abc.xy_str(x,y+hr/3,cell[1])}else{abc.set_font('gs')
34 abc.xy_str(x-wmx*.2,y+hr/4,cell[0])}
36 abc.out_sxsy(x,' ',yl+hr/2)
38 (wmx/2).toFixed(1)+' '+(hr/2).toFixed(1)+'"/>\n')
40 abc.xy_str(x,y-hr/3,cell[2])
42 abc.xy_str(x+wmx*.2,y-hr/4,cell[2])}}}else{abc.set_font('grid')
59 nc=cells.length;hr=font.size*2
60 if(wmx<hr*1.5)
61 wmx=hr*1.5
69 for(i=0;i<cells.length;i++){if(i==0||(grid.repbrk&&(bars[i].slice(-1)==':'||bars[i][0]==':'))||k>=nc){y-=hr
70 yl-=hr
75 build_cell(cells[i],x,y,yl,hr)
82 y-=hr}
86 abc.out_svg('v'+(hr*nr).toFixed(1)+'\n')
96 if(i==0||(grid.repbrk&&(bars[i].slice(-1)==':'||bars[i][0]==':'))||k>=nc){y-=hr;x=x0
104 abc.vskip(hr*nr+6)}