Mercurial > MadButterfly
diff nodejs/testcase.js @ 566:6639d386db78 Android_Skia
Function of add a shape to a coord in Javascript.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 08 Jun 2010 09:08:23 +0800 |
parents | c0bc60448913 |
children | a12c3448afb6 |
line wrap: on
line diff
--- a/nodejs/testcase.js Mon Jun 07 22:37:51 2010 +0800 +++ b/nodejs/testcase.js Tue Jun 08 09:08:23 2010 +0800 @@ -14,5 +14,7 @@ sys.puts(mb_rt.path_new); var path = mb_rt.path_new("m 100,100 L 200,200"); sys.puts(path); +sys.puts(coord.add_shape); +coord.add_shape(path); setTimeout(function() { sys.puts("timeout"); }, 1000);