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

Create Px class to represent raw host pixel value. #2204

Merged
merged 7 commits into from
Jul 25, 2024
Merged

Conversation

colinrtwhite
Copy link
Member

Introduce a Px class to represent a raw pixel value in the host's coordinate system. I think this is better for our public API vs. using a Double. I didn't introduce any extensions, but we can add extensions later to convert between Px/Dp.


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

@colinrtwhite colinrtwhite requested a review from JakeWharton July 24, 2024 20:36
@JakeWharton JakeWharton merged commit 9a4d694 into trunk Jul 25, 2024
11 checks passed
@JakeWharton JakeWharton deleted the colin/host_px branch July 25, 2024 14:20
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