In the method based on absolute coordinates, the coordinate
axes do not change when a program is running; the upper-left
corner of the screen corresponds to the coordinate (0,0), and the
lower-right corner of the screen corresponds to the coordinate
(1023, 767). In the method based on relative coordinates, the
current position of the cursor is always (0, 0); this relative
coordinate corresponds to an absolute coordinate of (200, 200).
Therefore, the position of the cursor along the x and y axes
always ranges between 0 and 1023 and 0 and 767, respectively.
However, the each coordinate ranges are adjustable from -1023
to 1023 and from -767 to 767, respectively, because in the
system of relative coordinates, the coordinate is dependent on
the current position of the cursor.
In the method based on absolute coordinates, the coordinateaxes do not change when a program is running; the upper-leftcorner of the screen corresponds to the coordinate (0,0), and thelower-right corner of the screen corresponds to the coordinate(1023, 767). In the method based on relative coordinates, thecurrent position of the cursor is always (0, 0); this relativecoordinate corresponds to an absolute coordinate of (200, 200).Therefore, the position of the cursor along the x and y axesalways ranges between 0 and 1023 and 0 and 767, respectively.However, the each coordinate ranges are adjustable from -1023to 1023 and from -767 to 767, respectively, because in thesystem of relative coordinates, the coordinate is dependent onthe current position of the cursor.
การแปล กรุณารอสักครู่..
