Convert cubic and quadratic bezier each other
