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

[release/2.x] Floor outwards when converting to SKRectI #2574

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

github-actions[bot]
Copy link

Backport of 8fd4dc5 from #2568.

Truncation will chop off parts, and this will lose value. Flooring outwards ensure that the size touches the edge of the containing rect. This is useful that any partial overhang with integer sizes can be clipped when drawing.

(cherry picked from commit 8fd4dc5)
@github-actions github-actions bot added the backport This PR is an automatic backport. label Aug 20, 2023
@mattleibow mattleibow enabled auto-merge (squash) August 20, 2023 15:50
@mattleibow mattleibow disabled auto-merge August 22, 2023 00:05
@mattleibow mattleibow merged commit 1198bef into release/2.x Aug 22, 2023
@mattleibow mattleibow deleted the backport/pr-2568-to-release/2.x branch August 22, 2023 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This PR is an automatic backport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant