Mercurial > MadButterfly
diff 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 |
line wrap: on
line diff
--- a/nodejs/testcase.js Mon Jun 07 19:18:20 2010 +0800 +++ b/nodejs/testcase.js Mon Jun 07 22:37:51 2010 +0800 @@ -11,4 +11,8 @@ sys.puts("coord matrix: " + [coord[0], coord[1], coord[2], coord[3], coord[4], coord[5]]); +sys.puts(mb_rt.path_new); +var path = mb_rt.path_new("m 100,100 L 200,200"); +sys.puts(path); + setTimeout(function() { sys.puts("timeout"); }, 1000);