Lines Matching refs:line
8 function build_grid(){var i,k,l,line,bl,bar,w,hr,x0,x,y,yl,cl,cell,lc='',path='<path class="stroke" stroke-width="1" d="M',sf='" style="font-size:'+(font.size*.72).toFixed(1)+'px'
12 function build_cell(cell,x,y,yl,hr){var line
13 if(cell.length>1){line=path+
17 if(cell[1]){line+=path+
22 build_ch(cls+sf,x,y-hr*.32,1)}else{line+=build_ch(cls+sf,x-wc*.2,y-hr/4,0)}
23 if(cell.length>=3){if(cell[3]){line+=path+
28 build_ch(cls+sf,x+wc/3,y,3)}else{line+=build_ch(cls+sf,x+wc*.2,y+hr/4,2)}}}else{line=build_ch(cls,x,y,0)}
29 return line}
48 line='<path class="stroke" d="\n'
50 for(i=0;i<=nr;i++){line+='M'+x0.toFixed(1)+' '+y.toFixed(1)+'h'+w.toFixed(1)+'\n'
53 for(i=0;i<=nc;i++){line+='M'+x.toFixed(1)+' 3v'+(hr*nr).toFixed(1)+'\n'
55 line+='"/>\n'
56 line+=lc
67 line+='<text class="'+cls+'" x="'+
71 line+='<text class="'+cls+'" x="'+
75 abc.out_svg(line)