Skip to content

NSVG_PAINT_RADIAL_GRADIENT #3

@brummer10

Description

@brummer10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions