(ref Float2 pos)
| 1568 | } |
| 1569 | |
| 1570 | internal void Internal_GameViewportToScreen(ref Float2 pos) |
| 1571 | { |
| 1572 | var win = Windows.GameWin?.Root; |
| 1573 | if (win?.RootWindow is WindowRootControl root) |
| 1574 | { |
| 1575 | pos = Windows.GameWin.Viewport.PointToScreen(pos); |
| 1576 | pos = Float2.Round(pos); |
| 1577 | } |
| 1578 | else |
| 1579 | { |
| 1580 | pos = Float2.Minimum; |
| 1581 | } |
| 1582 | } |
| 1583 | |
| 1584 | internal void Internal_GetGameWinPtr(bool forceGet, out IntPtr result) |
| 1585 | { |
nothing calls this directly
no test coverage detected