Converts x and y from coordinates in the user window to coordinates in the current context.
x
y
the X coordinate
the Y coordinate