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

Scale the curve by sx and sy about the given origin.

If origin is not specified, the curve is scaled around 0,0.