Quantum Data 801GC, 801GF, 801GX Owner's And Programmer's Manual page 275

Portable video signal generators
Table of Contents

Advertisement

LINE
Classification:
Command Syntax:
Limits:
Query Syntax:
Description:
Other Required Cmds:
Example:
draw a LINE
Custom image primitive
LINE <color> <X start coordinate> <Y start coordinate> <X
end coordinate> <Y end coordinate>
<color> = available colors
<X start coordinate> <Y start coordinate> <X end
coordinate> <Y end coordinate> = positive integer number
None
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.
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.
L I N E
y e l l o w
2 0
5
/ /
l i n e
f r o m
/ /
Y = 2 4 0
A L L U
/ /
U p d a t e
h a r d w a r e
/ /
b u f f e r
c o n t e n t s
3 2 0
2 4 0
/ /
D r a w
X = 2 0 ,
Y = 5
t o
X = 3 2 0 ,
t o
c u r r e n t
y e l l o w
6-149

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 801GC, 801GF, 801GX and is the answer not in the manual?

Table of Contents