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



Question:

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


Solution:1

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »