comparison nodejs/testcase.js @ 574:a2faee809514

Implement stext type for Javascript
author Thinker K.F. Li <thinker@branda.to>
date Wed, 09 Jun 2010 22:06:50 +0800
parents 13b15b7a463b
children 5a68e2bcea17
comparison
equal deleted inserted replaced
572:dcd7adb2c0fc 574:a2faee809514
16 sys.puts(path); 16 sys.puts(path);
17 sys.puts(coord.add_shape); 17 sys.puts(coord.add_shape);
18 coord.add_shape(path); 18 coord.add_shape(path);
19 19
20 sys.puts(mb_rt.paint_color_new); 20 sys.puts(mb_rt.paint_color_new);
21 var paint = mb_rt.paint_color_new(1.0, 1.0, 1.0, 1.0); 21 var paint = mb_rt.paint_color_new(1, 1, 1, 1);
22 sys.puts(paint); 22 sys.puts(paint);
23 paint.stroke(path); 23 paint.stroke(path);
24 24
25 sys.puts(path.stroke_width); 25 sys.puts(path.stroke_width);
26 path.stroke_width = 2; 26 path.stroke_width = 2;