Hi all,

While fixing bug #1227193 i have encoutered strange behaviour of SPGenericEllipse. When a new ellipse is drawn, the "d" attribute in corresponding svg:path element is set by SPGenericEllipse::write and contains arcs. However in SPGenericEllipse::update_patheffect, triggered by document idle handler, "d" attribute is regenerated from SPCurve and has other value. Instead of two arcs there are four curve elements.

I would like to address this issue. Since those are my first steps in inkscape development, I have some quesions.
1) Should I add arcto method to SPCurve and make both SPGeneralEllipse methods generate the same "d" attribute value?
2) Why there are two different methods that generate "d" attribute value? Should one of them (sp_arc_set_elliptical_path_attribute or sp_svg_write_path call in update_patheffect) be removed?
3) Should static function sp_arc_set_elliptical_path_attribute be c++-fied to private member method?

Regards,
  Tomasz Boczkowski