comparison 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
comparison
equal deleted inserted replaced
37:021a9ab1ed5b 38:07c19a58ba5a
35 35
36 36
37 37
38 var raphe = Raphael("disp_contain", 515, 318); 38 var raphe = Raphael("disp_contain", 515, 318);
39 39
40 var c = raphe.rect(0, 0, 514, 317); 40 var c = raphe.rect(0, 0, 514, 317, 40);
41 c.attr("stroke", "#00f"); 41 c.attr("stroke", "#00f");
42 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); 42 ta = raphe.print(10, 150, "Robert McIntyre", raphe.getFont("HelveticaNeue", 700), 63);
43 ta.attr('stroke', '#f00');
44 ta.attr('fill', 'TRANSPARENT');
45
46 tb = raphe.print(300, 270, "rlm@mit.edu", raphe.getFont("HelveticaNeue", 700), 25);
47 tb.attr('stroke', '#f00');
48 tb.attr('fill', 'TRANSPARENT');
49
50 tc = raphe.path("M 0 269 L 270 269");
51 tc.attr('stroke', '#f00');
43 52
44 53
45 tt.attr("stroke", "#f00");
46 tt.attr("fill", "RED");
47 54
48 55
49 var svg = document.getElementById('disp_contain');
50 56
51 57
52 58
53 </script> 59 </script>
54 60