comparison nodejs/testcase.js @ 696:f46a0771fd30

Merge the change frm the HEAD
author wycc
date Mon, 09 Aug 2010 16:41:54 +0800
parents 86c6ebf1de25
children 6ddc8b42188f
comparison
equal deleted inserted replaced
695:763a4e2bbd85 696:f46a0771fd30
8 sys.puts("root matrix: " + 8 sys.puts("root matrix: " +
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 sys.puts('coord='+coord);
13 14
14 /* Testcase for image shapes */ 15 /* Testcase for image shapes */
15 var img = mb_rt.image_new(10, 10, 50, 50); 16 var img = mb_rt.image_new(10, 10, 50, 50);
16 var ldr = mbfly.img_ldr_new("."); 17 var ldr = mbfly.img_ldr_new(".");
17 var img_data = ldr.load("sample.png"); 18 var img_data = ldr.load("sample.png");