WidowToAbsolute
Introduction
WindowToAbsolute converts pixel coordinates (top-left is 0,0 with Y increasing downward) to world coordinates.
Code Example
The following code returns the world coordinates of screen pixels, assuming pixelX and pixelY are valid ints:
Last updated