Coordinate system and angle
The coordinate system refers directly to the display resolution of the module with the origin 0|0 placed in the lower left corner of the display. For example the EA uniTFT050-A has a drawing field of 800 x 480 dots. Valid coordinates for this display are 0..799 and 0..479 hence.
Angles are given in the mathematical sense of rotation (counter-clockwise). 0° is horizontally right: