Snap a point using the current snap mode
The coordinates must be user coordinates.
The x coordinate to snap
The y coordinate to snap