Quantum Data 801GC User Manual
Page 275
6-149
LINE
draw a LINE
Classification:
Custom image primitive
Command Syntax:
LINE <color> <X start coordinate> <Y start coordinate> <X
end coordinate> <Y end coordinate>
Limits:
<color> = available colors
<X start coordinate> <Y start coordinate> <X end
coordinate> <Y end coordinate> = positive integer number
Query Syntax:
None
Description:
Draws a line between any two points. The line is one (1) pixel
thick. The primitive uses five (5) parameters, the color and the
X and Y coordinates for both endpoints.
Other Required Cmds:
The FMTU command instructs the generator to use the new
setting. The ALLU command updates hardware to the new setting
and redraws the test image.
Example:
L I N E y e l l o w 2 0 5 3 2 0 2 4 0 / / D r a w y e l l o w
/ / l i n e f r o m X = 2 0 , Y = 5 t o X = 3 2 0 ,
/ / Y = 2 4 0
A L L U / / U p d a t e h a r d w a r e t o c u r r e n t
/ / b u f f e r c o n t e n t s