Protocol commands are used to create UTS graphics images. The name of each command is followed by a colon, the control character or operator, and the operand syntax enclosed within brackets, as in:
Rectangle Absolute: I [x,y]
IMPORTANT:Do not include the brackets in the command.
Operand |
Description |
Value |
Range |
---|---|---|---|
CPos |
The current position expressed as NDC values x,y. |
Not applicable |
Not applicable |
x,y |
The position coordinate pair. |
integer |
-32768 through 32767 for coordinates relative to the CPos, 0 through 32767 for absolute coordinates. |
r |
The radius of an arc, sector or circle. |
integer |
0 through 32767. |
sa |
The start angle (in degrees) of an arc or sector. |
signed integer |
-32768 to 32767, modulus 360. The polar coordinate system is used, in which the initial line is the horizontal line extending to the right of the center point and rotated counter-clockwise. |
ea |
Identical to sa, except it represents the end angle of an arc or sector. |
Not applicable |
Not applicable |
NDC |
The UTS 60 Normalized Device Coordinate system having its origin of 0,0 in the lower left and maximum extents of 32767, 32767 in the upper right. |
Not applicable |
Not applicable |