Mercurial > laserkard
diff echo.html @ 38:07c19a58ba5a laserkard
[svn r39] creating compatability with corel draw.
author | rlm |
---|---|
date | Sun, 24 Jan 2010 10:42:16 -0500 |
parents | 021a9ab1ed5b |
children | 95fa4bcc5d67 |
line wrap: on
line diff
1.1 --- a/echo.html Sun Jan 24 09:37:47 2010 -0500 1.2 +++ b/echo.html Sun Jan 24 10:42:16 2010 -0500 1.3 @@ -37,16 +37,22 @@ 1.4 1.5 var raphe = Raphael("disp_contain", 515, 318); 1.6 1.7 -var c = raphe.rect(0, 0, 514, 317); 1.8 +var c = raphe.rect(0, 0, 514, 317, 40); 1.9 c.attr("stroke", "#00f"); 1.10 -tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); 1.11 +ta = raphe.print(10, 150, "Robert McIntyre", raphe.getFont("HelveticaNeue", 700), 63); 1.12 +ta.attr('stroke', '#f00'); 1.13 +ta.attr('fill', 'TRANSPARENT'); 1.14 1.15 +tb = raphe.print(300, 270, "rlm@mit.edu", raphe.getFont("HelveticaNeue", 700), 25); 1.16 +tb.attr('stroke', '#f00'); 1.17 +tb.attr('fill', 'TRANSPARENT'); 1.18 1.19 -tt.attr("stroke", "#f00"); 1.20 -tt.attr("fill", "RED"); 1.21 +tc = raphe.path("M 0 269 L 270 269"); 1.22 +tc.attr('stroke', '#f00'); 1.23 1.24 1.25 -var svg = document.getElementById('disp_contain'); 1.26 + 1.27 + 1.28 1.29 1.30