# HG changeset patch # User wycc # Date 1284867497 -28800 # Node ID f348a41e1aae6c2449f1fbbcea283976d32c2dd9 # Parent 2101a355acbaa6238ea42ebd92ac0ea9e699ce1f Use attribute x and y diff -r 2101a355acba -r f348a41e1aae nodejs/svg.js --- 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);