Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一对屏幕坐标,我需要知道它们是否与任何 GUI 元素重叠。
有没有办法做到这一点,或者至少找出给定点是否在 GUI 元素的范围内?
如果有某种isPointInsideAnyGUIElements()功能会更好。
isPointInsideAnyGUIElements()
利用env->getElementFromPoint(position)
env->getElementFromPoint(position)