H A D | grid-1.js | 4 //grid.js-module to insert a chord grid before or after a tune 5 abc2svg.grid={pl:'<path class="stroke" stroke-width="1" d="M',block_gen:function(of,s){if(s.subtype!="grid"){of(s) class in abc2svg 7 var abc=this,img,cls,cfmt=abc.cfmt(),grid=cfmt.grid 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) 27 if(cell[1]){abc.out_svg(abc2svg.grid.pl) 35 if(cell.length>=3){if(cell[3]){abc.out_svg(abc2svg.grid 191 var grid={n:Number(parm.shift())} global() class in abc2svg.grid.set_fmt [all...] |