tags:

views:

34

answers:

2

I've got a gtk - pixbuf out of an svg and want to crop this to a specific size at specific coordinates.

Anyone has an easy possible solution for that ?

A: 

svg has a viewbox attribute. You could use that one.

DiggyF
A: 

solved it in a different way:

simply created a subpixbuf with the coodinates:

cropped_buffer=pixbuf.subpixbuf(x,y,width,height)

wuschelhase