It is not possible to get the bounding box of text or tspan elements from the extension system directly. You can have a hacky attempt using pango, but it's not accurate.
The purpose of this command call is to enable the extension system to access accurate values for the placement of text by the extension :)
Put together something for myself on Inkscape 1.1 ( I don't use earlier versions )
It uses a command call to create :
Red dashed bounding boxes for text Elements
Blue dashed bounding boxes for tspan Elements
Red circles for the centre points of text Elements
Blue circles for the centre points of tspan Elements.
Should have pointed out.
It is not possible to get the bounding box of text or tspan elements from the extension system directly. You can have a hacky attempt using pango, but it's not accurate.
The purpose of this command call is to enable the extension system to access accurate values for the placement of text by the extension :)