Skip to content

Conversation

@aquagoose
Copy link
Contributor

Summary of the PR

Adds a built-in aspect ratio calculation for the VideoMode.
A user can query a video mode's aspect ratio and it will return a Vector2D<int> with the calculated aspect ratio (although will be precalculated for speed).

Related issues, Discord discussions, or proposals

Small discussion, confirming I am creating a PR.

Further Comments

None.

@dnfadmin
Copy link

dnfadmin commented Jul 31, 2022

CLA assistant check
All CLA requirements met.

@aquagoose aquagoose requested a review from a team as a code owner July 31, 2022 17:41
@Beyley Beyley merged commit 5be866f into dotnet:main Jul 31, 2022
Beyley pushed a commit that referenced this pull request Aug 24, 2022
Note: Ratios that can be simplified like 16:10 will be reported as 8:5, blame monitor manufacturers
@aquagoose aquagoose deleted the aspect-ratio branch September 1, 2022 22:08
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.

4 participants