memononen/nanosvg

[Help] gradients are broken on Haiku

diversys opened this issue · 6 comments

Hi, could you please check what could be a problem with gradients https://review.haiku-os.org/c/haiku/+/2661
Thanks.

Can you please provide an example of a gradient that does not work?

@pulkomandy do you have one?

The problem is not on nanosvg side for this, but in my lack of understanding of how to convert the nanosvg gradient transform to what our own code expects. And more specifically, in understanding what our code is expecting, once I understand that I can probably figure out how to convert the matrix (if possible) or modify the parser to output the info I need.

This discussion should be useful to you: #26

Fixed my problems which were indeed not in nanosvg code. Issue can be closed :)

Cool! :)