WinUIEx icon indicating copy to clipboard operation
WinUIEx copied to clipboard

Use ContentCoordinateConverter for screen <--> window coordinate conversion

Open dotMorten opened this issue 2 years ago • 0 comments

Instead of getting DPI and doing conversions, consider changing all that code to use the ContentCoordinateConverter: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.content.contentcoordinateconverter?view=windows-app-sdk-1.4

image

dotMorten avatar Oct 24 '23 04:10 dotMorten