code: function(sx, sy, origin) {
  
              origin = (origin && new Point(origin)) || new Point(0, 0);
              this.x = origin.x + sx * (this.x - origin.x);
              this.y = origin.y + sy * (this.y - origin.y);
              return this;
          }
docs: Scale point with origin.