Lines Matching defs:x
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'
9 function build_ch(cl,x,y,n){return'<text class="'+cl+'" x="'+
10 x.toFixed(1)+'" y="'+y.toFixed(1)+'">'+
12 function build_cell(cell,x,y,yl,hr){var line
14 (x-wc/2).toFixed(1)+' '+
18 (x-wc/2).toFixed(1)+' '+
21 build_ch(cls+sf,x-wc/3,y,0)+
22 build_ch(cls+sf,x,y-hr*.32,1)}else{line+=build_ch(cls+sf,x-wc*.2,y-hr/4,0)}
24 x.toFixed(1)+' '+
27 build_ch(cls+sf,x,y+hr*.3,2)+
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)}
42 x=x0+wc/2
46 lc+=build_cell(cell,x,y,yl,hr)
47 x+=wc}}
52 x=x0
53 for(i=0;i<=nc;i++){line+='M'+x.toFixed(1)+' 3v'+(hr*nr).toFixed(1)+'\n'
54 x+=wc}
61 x=x0
67 line+='<text class="'+cls+'" x="'+
68 (x-5).toFixed(1)+'" y="'+y.toFixed(1)+'" style="font-weight:bold;font-size:'+
71 line+='<text class="'+cls+'" x="'+
72 (x+5).toFixed(1)+'" y="'+y.toFixed(1)+'" style="font-weight:bold;font-size:'+
74 x+=wc}}
123 txt=txt.replace(/#|=|b/g,function(x){switch(x){case'#':return"\u266f"