0x00407FCD
| 396 | |
| 397 | // 0x00407FCD |
| 398 | Point getCursorPosScaled() |
| 399 | { |
| 400 | auto unscaledPos = getCursorPos(); |
| 401 | |
| 402 | auto scale = Config::get().scaleFactor; |
| 403 | |
| 404 | auto x = unscaledPos.x / scale; |
| 405 | auto y = unscaledPos.y / scale; |
| 406 | return { static_cast<int32_t>(std::round(x)), static_cast<int32_t>(std::round(y)) }; |
| 407 | } |
| 408 | |
| 409 | Point getCursorPos() |
| 410 | { |
no test coverage detected