comparison awesome_js/robert.js @ 56:2ca94aa58033 laserkard

[svn r57] commiting before corrections with Kevin
author rlm
date Sat, 13 Mar 2010 22:30:59 -0500
parents 95fa4bcc5d67
children 14271eedf004
comparison
equal deleted inserted replaced
55:41d66ff99136 56:2ca94aa58033
158 font = font * mul; 158 font = font * mul;
159 159
160 //eval( target + ".scale(mul,mul)" ); 160 //eval( target + ".scale(mul,mul)" );
161 161
162 eval ( target + ".remove();"); 162 eval ( target + ".remove();");
163 eval ( target + " = raphe.print(posx, posy, content , raphe.getFont('HelveticaNeue', face), font);" ); 163 eval ( target + " = raphe.print(posx, posy, content , raphe.getFont('HelveticaNeue', face), font);" );
164 164
165 165
166 } 166 }
167 167
168 168
169 169
170 } 170 }
171 171 eval ( target +".attr('stroke-width', 2.3 *font/385.16 + 2.3*0.311);");
172 172 //eval ( target +".attr('stroke-width', font/385.16 + 0.311);");
173 173
174 var sizzle = eval(target+".getBBox().width;"); 174 var sizzle = eval(target+".getBBox().width;");
175 175
176 document.getElementById('output').innerHTML = sizzle; 176 document.getElementById('output').innerHTML = sizzle;
177 177