0

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

ndim
  • 35,870
  • 12
  • 47
  • 57
wuschelhase
  • 1,084
  • 1
  • 9
  • 17

1 Answers1

1

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

wuschelhase
  • 1,084
  • 1
  • 9
  • 17
  • That doesn't seem to exist in rsvg here. >>> print "get_dimensions_sub" in dir(rsvg.Handle) # prints "False" – OJW May 25 '12 at 16:29