Skip to content
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

Support custom alpha blending #24

Closed
AlexandruIca opened this issue Apr 30, 2022 · 0 comments · Fixed by #29
Closed

Support custom alpha blending #24

AlexandruIca opened this issue Apr 30, 2022 · 0 comments · Fixed by #29
Assignees
Labels
feature New feature or request improvement Improving an existing functionality
Projects

Comments

@AlexandruIca
Copy link
Owner

Currently the alpha blending method is hardcoded to 1 - src.alpha, it would be great if the library would provide a few blending functions (like the Porter-Duff ones), and allow for a custom blending function as well.

@AlexandruIca AlexandruIca added feature New feature or request improvement Improving an existing functionality labels Apr 30, 2022
@AlexandruIca AlexandruIca added this to the Polishing basic stuff milestone Apr 30, 2022
@AlexandruIca AlexandruIca self-assigned this Apr 30, 2022
@AlexandruIca AlexandruIca added this to ToDo in Backlog via automation Apr 30, 2022
AlexandruIca added a commit that referenced this issue May 1, 2022
Also provided the default src-over operator.
AlexandruIca added a commit that referenced this issue May 1, 2022
I've also implemented the Porter-Duff operators.
AlexandruIca added a commit that referenced this issue May 1, 2022
This tests all the implemented Porter-Duff operators.
@AlexandruIca AlexandruIca linked a pull request May 1, 2022 that will close this issue
Backlog automation moved this from ToDo to Done May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request improvement Improving an existing functionality
Projects
Development

Successfully merging a pull request may close this issue.

1 participant