Snap a point to the grid of this window
The coordinates must be user coordinates.
The x coordinate to snap
The y coordinate to snap