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 off-by-one error in square drawing #5

Merged
merged 1 commit into from
Mar 1, 2016
Merged

Fix off-by-one error in square drawing #5

merged 1 commit into from
Mar 1, 2016

Conversation

Barro
Copy link
Contributor

@Barro Barro commented Feb 29, 2016

Squares were 1 pixel too big on each side, as ChunkyPNG's #rect() method's
x1 and y1 arguments are inclusive. This could be noticed in cases where
squares were forming a chessboard pattern and their corners there were
clearly overlapping.

Squares were 1 pixel too big on each side, as ChunkyPNG's #rect() method's
x1 and y1 arguments are inclusive. This could be noticed in cases where
squares were forming a chessboard pattern and their corners there were
clearly overlapping.
chrisbranson pushed a commit that referenced this pull request Mar 1, 2016
Fix off-by-one error in square drawing
@chrisbranson chrisbranson merged commit a8922ba into chrisbranson:master Mar 1, 2016
@chrisbranson
Copy link
Owner

Thanks for the PR 👍

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