added quadratic bezier curves API