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 some drawing problems with cairo #152

Closed
wants to merge 2 commits into from

Conversation

jpcima
Copy link
Contributor

@jpcima jpcima commented Sep 2, 2020

Hi, it's a potential fix of item "4. Translation with ± 0.5" from issue #126.
Please check whether this makes sense.

see comment #126 (comment)

@scheffle scheffle requested review from scheffle and rehans September 18, 2020 10:09
@scheffle
Copy link
Collaborator

Hi, I just had a few minutes to review this. I see that you completely ignored the transformation matrix for pixel alignment. That does not work if the transformation matrix has a non integer scaling. The issue in the original code for pixel align was that the coordinates were not rounded correctly. I will push a fix for the pixel alignment. Please check if that fixes your issue too. Will close this one.

@scheffle scheffle closed this Oct 11, 2020
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