Refactor utils.getQuadraticControlPoint