comparison nodejs/svg.js @ 788:7ec13634c97d

Add holder for animate
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 31 Aug 2010 02:36:01 +0800
parents 0899dcac441c
children ba6bb69ee419
comparison
equal deleted inserted replaced
787:0899dcac441c 788:7ec13634c97d
472 472
473 var rect = this.mb_rt.rect_new(x,y,w,h,10, 10); 473 var rect = this.mb_rt.rect_new(x,y,w,h,10, 10);
474 this._set_paint(n, rect); 474 this._set_paint(n, rect);
475 this._set_bbox(n, tcoord); 475 this._set_bbox(n, tcoord);
476 tcoord.add_shape(rect); 476 tcoord.add_shape(rect);
477
478 make_mbnames(this.mb_rt, n, tcoord);
477 }; 479 };
478 480
479 // When we parse a group, we need to calculate the origin of the group 481 // When we parse a group, we need to calculate the origin of the group
480 // so that we can resize the group without changing its origin point. 482 // so that we can resize the group without changing its origin point.
481 // This must be done recursively. For text/rect/image, we can get its 483 // This must be done recursively. For text/rect/image, we can get its