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

Add Clear() methods to force drawing the provided color over a region #41

Closed
tocsoft opened this issue May 2, 2020 · 1 comment · Fixed by #43
Closed

Add Clear() methods to force drawing the provided color over a region #41

tocsoft opened this issue May 2, 2020 · 1 comment · Fixed by #43
Assignees

Comments

@tocsoft
Copy link
Member

tocsoft commented May 2, 2020

This is a special case of clear with a forced PixelAlphaCompositionMode.Src & PixelColorBlendingMode.Normal.

For best efficiency this is dependent on #40 so you can composite the fastest path without have to special case to many things.

@tocsoft
Copy link
Member Author

tocsoft commented May 2, 2020

This Api would solve #26... 2nd question is should Color.Transparent on the Fill APIs be special cased to force a Clear() operation?

@tocsoft tocsoft self-assigned this May 2, 2020
@tocsoft tocsoft mentioned this issue May 2, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant