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

Add screen diagonal line in inches as an attribute #78

Open
nsde opened this issue Apr 6, 2023 · 0 comments
Open

Add screen diagonal line in inches as an attribute #78

nsde opened this issue Apr 6, 2023 · 0 comments

Comments

@nsde
Copy link

nsde commented Apr 6, 2023

Hello, please add an attribute (.diagonale ). Thanks :)

Here's a simple calculation for this:

diagonal_inches = round(math.sqrt((monitor.width_mm/25.4)**2 + (monitor.height_mm/25.4)**2))
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

No branches or pull requests

1 participant