Determine point from one aspect ratio to an equivlent aspect ratio

19 Views Asked by At

I am working on a code program and get the X and Y coordinates of my cursor. My aspect ratio is 1280x720 and a point I am using for an example is (710, 300) however my x and y values must be 0.0-1.0, so I found the equivalent ratio to 1280x720 to be 1.0.5625, but now I need the equation to convert my given point (710,300) to an equivalent one inside the aspect ratio 1.0x0.5625