changeset 846:f348a41e1aae

Use attribute x and y
author wycc
date Sun, 19 Sep 2010 11:38:17 +0800
parents 2101a355acba
children dfe28355bded
files nodejs/svg.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/svg.js	Sun Sep 19 11:37:28 2010 +0800
+++ b/nodejs/svg.js	Sun Sep 19 11:38:17 2010 +0800
@@ -574,6 +574,8 @@
         coord.center.x -= accu[2];
         coord.center.y -= accu[5];
     }
+    coord._x = coord.center.x;
+    coord._y = coord.center.y;
     sys.puts("coord.center.x="+coord.center.x+",coord.center.y="+coord.center.y);
     
     make_mbnames(this.mb_rt, n, coord);