Add rational and non-rational bezier curves.

A curve is created as a `PolylineDescr`.