Mercurial > MadButterfly
comparison nodejs/testcase.js @ 565:c0bc60448913 Android_Skia
Constructor for path objects in Javascript domain
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 07 Jun 2010 22:37:51 +0800 |
parents | bc207070e3d5 |
children | 6639d386db78 |
comparison
equal
deleted
inserted
replaced
564:0cd1511272d2 | 565:c0bc60448913 |
---|---|
9 [root[0], root[1], root[2], root[3], root[4], root[5]]); | 9 [root[0], root[1], root[2], root[3], root[4], root[5]]); |
10 var coord = mb_rt.coord_new(root); | 10 var coord = mb_rt.coord_new(root); |
11 sys.puts("coord matrix: " + | 11 sys.puts("coord matrix: " + |
12 [coord[0], coord[1], coord[2], coord[3], coord[4], coord[5]]); | 12 [coord[0], coord[1], coord[2], coord[3], coord[4], coord[5]]); |
13 | 13 |
14 sys.puts(mb_rt.path_new); | |
15 var path = mb_rt.path_new("m 100,100 L 200,200"); | |
16 sys.puts(path); | |
17 | |
14 setTimeout(function() { sys.puts("timeout"); }, 1000); | 18 setTimeout(function() { sys.puts("timeout"); }, 1000); |