Add support for 2 point conical gradients#164
Conversation
56cf5ca to
95993a9
Compare
This is a straight port from Skia
|
Thanks! Looks good to me. As for Keeping both at the same time would be too much work. Other than that - if this change works fine for you and none of the resvg tests are failing after this change - we're ready to go. |
|
Made the changes so that
|
|
Inspecting the 3 avx test failures its due to conical_smaller_radialAVX got different output for
strip_gradientAVX got different output for
conical_greater_radialAVX got different output for
|
|
Any thoughts on how to move forward?
|
|
This PR is good to go!
|
- Notably, transform inversion happens after checking the color stops.
|
Thanks! Looks good to me. I would also add this to the changelog: Hopefully, the current maintainer would be able to merge and publish it soon. PS: there is one link to the original code left, not sure if intentionally or not. |
|
No need to move to them to the bottom, I just was curious. If I'm seeing correctly your newest commit reformatted a lot of unrelated code, can you revert that commit? Then I can merge. |
|
Format changes reverted |
Items remaining: None!
TestingThinking about future of RadialGradient API or other simplifications