问题
I'm playing around with converting some macros for a game (a tale in the desert) and found one I'm playing with trying to convert from the res it was written for (1680x1050) to my resolution (1920x1080).
The macro does a series of clicks on the screen at certain coordinates. I'd like to try to get it as close as possible if such a formula exists and then tweak from there.
Thanks guys.
回答1:
1680 * x = 1920
1050 * y = 1080
Solve for x
and y
and that's what you'll need to multiply your coordinates by.
来源:https://stackoverflow.com/questions/8570370/is-there-a-formula-for-converting-a-pixel-coordinate-in-1680x1050-to-1920x1080