Open bvssvni opened 9 years ago
One solution could be to provide a rectangle or size for every mouse cursor position which told where it was relative to the rectangular surface.
Another solution is to add a Pointer(x, y)
which is normalized to the rectangular area of the receiver of the input.
The problem is that a single position is ambiguous, it does not tell you whether the input is in window coordinates, drawing coordinates or something else.