-
Notifications
You must be signed in to change notification settings - Fork 87
Add support for 2 point conical gradients #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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