开发者

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

开发者 https://www.devze.com 2023-01-07 21:31 出处:网络
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

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 开发者_JS百科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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消