Curve API

I’m writing an SVG importer and I need to create curve objects. I’ve been able to replicate the examples in the documentation, creating simple curve objects, but I can’t find a way to add points to those curves. You can manipulte existing points with Curve.setControlPoint() but there’s no apparent way to create new points on a curve. Is there ?

For the moment, you can not create a curve and add point to this curve . There is only one solution yet in use in my SVG importer :