ppa to_path_element() scales and displaces rectangles and circles x 3.7
Disclaimer: didn't test this with a standalone extension (and the extension that I'm currently fixing is pretty convoluted), needs confirmation. When I use `obj.to_path_element()` for an object that is a rectangle or circle, inkex adds a copy of that object to the drawing which is moved and scaled (I did not test other shapes or object types, like lines, polylines, ellipses, polygons, ...). e.g. Object to path with the same rectangle in … … inkex: `M 315.842 602.288 L 542.875 602.288 L 542.875 790.167 L 315.842 790.167 z` … inkscape `m 83.5665 159.355 L 143.636 159.355 L 143.636 209.065 L 83.5665 209.065 Z` ``` Inkscape 1.2 (1:1.2+202205241504+da316b6974) (from ppa) GLib version: 2.64.6 GTK version: 3.24.20 glibmm version: 2.64.2 gtkmm version: 3.24.2 libxml2 version: 2.9.10 libxslt version: 1.1.34 Cairo version: 1.16.0 Pango version: 1.44.7 HarfBuzz version: 2.6.4 OS version: Linux Mint 20.3 ```
issue