[Inkscape-devel] Refactoring low level calculations on shapes