wuschelhase
wuschelhase

Reputation: 1114

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

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

Upvotes: 0

Views: 443

Answers (1)

wuschelhase
wuschelhase

Reputation: 1114

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

Upvotes: 1

Related Questions