Учитывая следующий путь (например), который описывает кубическую беззерновую кривую SVG: "M300,140C300,40,500,40,500,140", и предполагая, что прямая линия соединяет конечные точки 300,140 - 500,140 (закрывая область под кривой), можно ли вычислить площадь, заключенную таким образом?
Может ли кто-нибудь предложить формулу (или JavaScript) для этого?