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

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

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