In EasyX, the coordinates in two ways: the physical coordinates and logical coordinates.
Physical coordinates
Device is described in physical coordinates of coordinate system.
Coordinate origin at the top left of the device, X-axis is positive to the right, the Y axis is positive, the unit of measure is a pixel.
Coordinate origin, the coordinate axis direction, scaling can not change.
Logical coordinates
Logical coordinate is a coordinate system for drawing in the program.
The default coordinate origin in the upper left corner of the window, X-axis is positive to the right, the Y axis is positive, a unit of measurement points.
By default, the logical and physical coordinates correspond to coordinates, a physical point is equal to a logical pixel.
In this guide, who did not indicate the coordinates refer to logical coordinates.
See
SetOrigin : Modify the origin of coordinates.
setAspectRatio : Modify axis direction.
setAspectRatio : modify the zoom.