Here's a patch that implements option A above. It's a bit rough at the moment:
* Undo doesn't seem to work properly (object appears outside dimensions of page)
* Origin of viewbox doesn't change (except by scaling). Calculating this would probably need to depend on where the viewbox origin was with respect to the object before the resize operation.
Here's a patch that implements option A above. It's a bit rough at the moment:
* Undo doesn't seem to work properly (object appears outside dimensions of page)
* Origin of viewbox doesn't change (except by scaling). Calculating this would probably need to depend on where the viewbox origin was with respect to the object before the resize operation.