example/js/svg.js
function ensureCentre(o, target) {
  o.cx = o.cx == null ? target.bbox().cx : o.cx
  o.cy = o.cy == null ? target.bbox().cy : o.cy
}
function ensureCentre(o, target) {
  o.cx = o.cx == null ? target.bbox().cx : o.cx
  o.cy = o.cy == null ? target.bbox().cy : o.cy
}
function ensureCentre ( o , target ) { o . cx = o . cx == null ? target . bbox ( ) . cx : o . cx o . cy = o . cy == null ? target . bbox ( ) . cy : o . cy }
Add centre point to transform object
Add centre point to transform object