Get the coords and height/width of a svg group into python

443 Views Asked by At

Hi I want to load the groups of a svg-file into several gtk pixbuffs/subpixbufs therefore I need the coordinates and width and height of them

I'm currently just using rsvg and gtk is it possible to get those information with that modules ? Or do I need another module to read out that data from the svg-file?

thanks alot

1

There are 1 best solutions below

1
On BEST ANSWER

I found out to simply use RSVG::Handle::get_dimensions_sub(id)