1.1.3. Coordinate System of a Screen
The coordinate system of the screen is a cartesian coordinate system. The origin (0,0) is at the top left of the screen. Positive x increases toward the right and positive y increases toward the bottom.
Coordinate system of a screenThe pixels are always centred around the grid points.