bezier curve translate and rotate