是否有用于将1680x1050中的像素坐标转换为1920x1080的公式 [英] Is there a formula for converting a pixel coordinate in 1680x1050 to 1920x1080

查看:245
本文介绍了是否有用于将1680x1050中的像素坐标转换为1920x1080的公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试转换游戏的一些宏(沙漠中的一个故事),发现我正在尝试将一个宏从为它编写的分辨率(1680x1050)转换为我的分辨率(1920x1080).

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.

谢谢大家.

推荐答案

1680 * x = 1920
1050 * y = 1080

解决xy的问题,这就是您要乘以坐标的原因.

Solve for x and y and that's what you'll need to multiply your coordinates by.

这篇关于是否有用于将1680x1050中的像素坐标转换为1920x1080的公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆