rect.scale(sx, sy [, origin])

Scale the rectangle by sx,sy around the given origin point. If origin is not specified, the rectangle is scaled around the point 0,0.