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

Fix PlainBrush to use premultiplied alpha for single pixel strokes #125

Merged
merged 1 commit into from
May 13, 2017

Conversation

tdaffin
Copy link
Contributor

@tdaffin tdaffin commented May 13, 2017

I found one other place where a call to SetColorBgra was made without using a premultiplied alpha and I verified that passing the result of ToPremultipliedAlpha to CairoExtensions.SetColorBgra does give the same result as the LineTo call without antialiasing.

I had to make a similar correct in this pull request: #124

@cameronwhite cameronwhite merged commit 2d58dc0 into PintaProject:master May 13, 2017
@tdaffin tdaffin deleted the premultiplied-alpha branch May 13, 2017 19:10
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 this pull request may close these issues.

2 participants