【svg】给出两点坐标绘制三次贝塞尔曲线
function createCPath(x1, y1, x2, y2) { var path = "M" + x1 + " " + y1 + " "; var cx1 = x1; var cy1 = (y1 + y2) / 2; var cx2 = x2; var cy2 = (y1 + y2) / 2;