index 12bca8891c12ed96d45fac4756b910eaf672112a..cd1683c343d68481c28da4ecd6c7b8c4cd9d1d2d 100644 (file)
SPItem *u=*it;
if(!isConnector(u)) {
Rectangle* r=rs[nodelookup[u->id]];
- NR::Rect const item_box(sp_item_bbox_desktop(u));
- NR::Point const curr(item_box.midpoint());
- NR::Point const dest(r->getCentreX(),r->getCentreY());
+ Geom::Rect const item_box(sp_item_bbox_desktop(u));
+ Geom::Point const curr(item_box.midpoint());
+ Geom::Point const dest(r->getCentreX(),r->getCentreY());
sp_item_move_rel(u, Geom::Translate(dest - curr));
}
}