Hi there
First, it's a really nice implementation for using nanosvg within cairo. Thanks for that.
I like to use it to add support for SVG in my X11 widget toolkit https://github.com/brummer10/libxputty
Therefore I ported it to plain C. However, I noticed a issue within your C++ version as well, with radial gradients and I don't know how to solve it. As a example, I use this one: https://freesvg.org/monarch-butterfly-2-variation-2
Unfortunately the radial gradients seems to didn't work, as all colours been presented as plain colour.
It works well for linear gradients by the way. Do you've any idea how to solve that?
regards
hermann
Hi there
First, it's a really nice implementation for using nanosvg within cairo. Thanks for that.
I like to use it to add support for SVG in my X11 widget toolkit https://github.com/brummer10/libxputty
Therefore I ported it to plain C. However, I noticed a issue within your C++ version as well, with radial gradients and I don't know how to solve it. As a example, I use this one: https://freesvg.org/monarch-butterfly-2-variation-2
Unfortunately the radial gradients seems to didn't work, as all colours been presented as plain colour.
It works well for linear gradients by the way. Do you've any idea how to solve that?
regards
hermann