Mercurial > laserkard
comparison awesome_js/robert.js @ 61:14271eedf004 laserkard
[svn r62] saving for transference to cd
author | rlm |
---|---|
date | Fri, 19 Mar 2010 07:27:37 -0400 |
parents | 2ca94aa58033 |
children | 781127893010 |
comparison
equal
deleted
inserted
replaced
60:b92b3b099c02 | 61:14271eedf004 |
---|---|
166 } | 166 } |
167 | 167 |
168 | 168 |
169 | 169 |
170 } | 170 } |
171 eval ( target +".attr('stroke-width', 2.3 *font/385.16 + 2.3*0.311);"); | 171 |
172 | |
173 var targetFont = 2.3 *font/385.16 + 2.3*0.311; | |
174 | |
175 if (font <25) | |
176 { | |
177 | |
178 targetFont = targetFont * 0.75; | |
179 | |
180 } | |
181 | |
182 | |
183 eval ( target +".attr('stroke-width', targetFont);"); | |
172 //eval ( target +".attr('stroke-width', font/385.16 + 0.311);"); | 184 //eval ( target +".attr('stroke-width', font/385.16 + 0.311);"); |
173 | 185 |
174 var sizzle = eval(target+".getBBox().width;"); | 186 var sizzle = eval(target+".getBBox().width;"); |
175 | 187 |
176 document.getElementById('output').innerHTML = sizzle; | 188 document.getElementById('output').innerHTML = sizzle; |