Mercurial > MadButterfly
comparison nodejs/svg.js @ 846:f348a41e1aae
Use attribute x and y
author | wycc |
---|---|
date | Sun, 19 Sep 2010 11:38:17 +0800 |
parents | 76fe4afce640 |
children | dfe28355bded |
comparison
equal
deleted
inserted
replaced
845:2101a355acba | 846:f348a41e1aae |
---|---|
572 | 572 |
573 if (this._set_bbox(n, coord)) { | 573 if (this._set_bbox(n, coord)) { |
574 coord.center.x -= accu[2]; | 574 coord.center.x -= accu[2]; |
575 coord.center.y -= accu[5]; | 575 coord.center.y -= accu[5]; |
576 } | 576 } |
577 coord._x = coord.center.x; | |
578 coord._y = coord.center.y; | |
577 sys.puts("coord.center.x="+coord.center.x+",coord.center.y="+coord.center.y); | 579 sys.puts("coord.center.x="+coord.center.x+",coord.center.y="+coord.center.y); |
578 | 580 |
579 make_mbnames(this.mb_rt, n, coord); | 581 make_mbnames(this.mb_rt, n, coord); |
580 }; | 582 }; |
581 | 583 |