implemented quadratic bezier contour