I have gtk-pixbuf from svg and you want to crop it to a specific size in specific coordinates.
Anyone have an easy solution possible for this?
decided it differently:
just created subpixbuf with coodinates:
cropped_buffer=pixbuf.subpixbuf(x,y,width,height)
svg has a viewbox attribute . You can use this one.
Source: https://habr.com/ru/post/1755040/More articles:Does .net TransactionScope handle very complex database stuff? - .netBlackberry: read a text file packaged in a project (faster) - javaЛучше/безопаснее использовать php? - securityAbstract static factory method [getInstance ()] in Java? - javaГде хранить настраиваемые файлы конфигурации - c#Shadow and CCSprite - objective-cкачать автозаполнение текстовое поле/выпадающее меню - javamiglayout question: column restrictions - swingjQuery Ajax How to pass responseText as a variable to indexOf? - jquerySQL Server 2008 log file size is large and growing rapidly - sql-serverAll Articles