Lines Matching defs:diag

4 //diag.js-module to insert guitar chord diagrams
5 abc2svg.diag={do_diag:function(){var glyphs=this.get_glyphs(),voice_tb=this.get_voice_tb()
8 \n.diag {font:6px sans-serif}\
27 <text x="-8,-3,4" y="-36" class="diag">321</text>\n\
35 <text x="-4,0,4" y="-36" class="diag">342</text>\n\
42 <text x="-8,-4,0,4" y="-36" class="diag">3241</text>\n\
51 <text x="-12,-4,4" y="-36" class="diag">x32</text>\n\
57 <text x="-12,-8,-4" y="-36" class="diag">x21</text>\n\
64 <text x="-12,0,4" y="-36" class="diag">x34</text>\n\
70 <text x="-12,0,4,8" y="-36" class="diag">x132</text>\n\
77 <text x="-12,0,4,8" y="-36" class="diag">x231</text>\n\
84 <text x="-12,0,4,8" y="-36" class="diag">x312</text>\n\
91 <text x="-12,-8,0,4,8" y="-36" class="diag">xx211</text>\n\
98 <text x="-12,-8,0,4,8" y="-36" class="diag">xx123</text>\n\
105 <text x="-12,-8,0,4,8" y="-36" class="diag">xx123</text>\n\
112 <text x="-8,-4,0" y="-36" class="diag">231</text>\n\
119 <text x="-8,-4" y="-36" class="diag">23</text>\n\
125 <text x="-8,0" y="-36" class="diag">21</text>\n\
131 <text x="-8" y="-36" class="diag">1</text>\n\
136 <text x="-8,-4,0" y="-36" class="diag">312</text>\n\
143 <text x="-4,0" y="-36" class="diag">12</text>\n\
150 <text x="-8,-4,0" y="-36" class="diag">342</text>\n\
158 <text x="-8,-4" y="-36" class="diag">34</text>\n\
165 <text x="-8,0" y="-36" class="diag">32</text>\n\
172 <text x="-8" y="-36" class="diag">3</text>\n\
178 <text x="-8,-4,0" y="-36" class="diag">423</text>\n\
186 <text x="-4,0" y="-36" class="diag">34</text>\n\
193 <text x="-8,-4,0" y="-36" class="diag">342</text>\n\
201 <text x="-8,-4" y="-36" class="diag">34</text>\n\
208 <text x="-8,0" y="-36" class="diag">32</text>\n\
215 <text x="-8" y="-36" class="diag">3</text>\n\
221 <text x="-8,-4,0" y="-36" class="diag">423</text>\n\
229 <text x="-4,0" y="-36" class="diag">34</text>\n\
235 <text x="-12,-8,8" y="-36" class="diag">234</text>\n\
243 <text x="-8,-4" y="-36" class="diag">34</text>\n\
249 <text x="-12,-8,8" y="-36" class="diag">321</text>\n\
257 <text x="-8" y="-36" class="diag">3</text>\n\
262 <text x="-12,-8,8" y="-36" class="diag">312</text>\n\
270 <text x="-4,0" y="-36" class="diag">34</text>\n\
276 <text x="-4,0,4" y="-36" class="diag">234</text>\n\
283 <text x="-4,0,4" y="-36" class="diag">231</text>\n\
290 <text x="-4,4" y="-36" class="diag">23</text>\n\
296 <text x="-4,4" y="-36" class="diag">21</text>\n\
302 <text x="-12,-4,0,4" y="-36" class="diag">x213</text>\n\
309 <text x="-12,0,4" y="-36" class="diag">x12</text>\n\
316 <text x="-4,0,4" y="-36" class="diag">234</text>\n\
324 <text x="-4,0,4" y="-36" class="diag">341</text>\n\
331 <text x="-12,-8,-4,0,8" y="-36" class="diag">x2134</text>\n\
340 <text x="-12,0,8" y="-36" class="diag">x32</text>\n\
347 <text x="-12,-4,0,4" y="-36" class="diag">x324</text>\n\
355 <text x="-12,0,4" y="-36" class="diag">x34</text>\n\
370 this.deco_cnv([ch_cnv(gch.otext)],s,null)}}},output_music:function(of){if(this.cfmt().diag)
371 abc2svg.diag.do_diag.call(this)
372 of()},set_fmt:function(of,cmd,param){if(cmd=="diagram"){this.cfmt().diag=param
374 of(cmd,param)},set_hooks:function(abc){abc.output_music=abc2svg.diag.output_music.bind(abc,abc.output_music);abc.set_format=abc2svg.diag.set_fmt.bind(abc,abc.set_format)}}
375 abc2svg.modules.hooks.push(abc2svg.diag.set_hooks);abc2svg.modules.diagram.loaded=true