I'm using `--query-all` now to get the position and size of elements. I'm looking for a way to get the size of the element (the bounding box) in it's unrotated position.
I don't think it's possible to remove just the rotate part, from the command line, you can remove all transformations and then compare input to output.
Thanks. I think I'll have to look at an extension. The command-line it looks like won't behave as I wish in a hierarchy of objects -- I need to get the untransformed bounding box for each element where all the children still retain their transformations.
I'm using `--query-all` now to get the position and size of elements. I'm looking for a way to get the size of the element (the bounding box) in it's unrotated position.
Is there a way to get this information?
I don't think it's possible to remove just the rotate part, from the command line, you can remove all transformations and then compare input to output.
inkscape --actions="query-all;select-all;transform-remove;query-all;" drawing.svg
I think it would require writing an extension https://inkscape.gitlab.io/extensions/documentation/inkex.transforms.html
Thanks. I think I'll have to look at an extension. The command-line it looks like won't behave as I wish in a hierarchy of objects -- I need to get the untransformed bounding box for each element where all the children still retain their transformations.