NEC CP/M-86 System Reference Manual page 164

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
9-32
SET POLYLINE LINETYPE
This operation sets the linetype for subsequent polyline operations. The total
number oflinestyles available is device-dependent; however 5linestyles are required
- one solid plus four dash styles.
If the requested linestyle is out of range then linestyle 1 (solid) should be used.
Input
Output
contr1(I)
contrl(2)
intin(l)
contr1(3)
intout(l)
SET POLYLINE WIDTH
Opcode
=
15
o
Requested linestyle
o
Linestyle selected
This operation sets the width oflines for subsequent polyline operations. The width
is specified in Device Coordinates (DC).
Input
Output
contr1(I)
contrl(2)
ptsin(l)
ptsin(2)
contr1(3)
ptsout(l)
ptsout(2)
SET POLYLINE COLOR INDEX
Opcode
=
16
Number of input vertices
=
1
Requested line width in device units
o
Number of output vertices
=
1
Selected line width in device units
o
This operation sets the color index for subsequent polyline operations. The color
signified by the index is determined by the Set Color Representation operation. At
. least two color indices are required. Color indices range from 0 to a device-
dependent maximum.
Input
Output
contr1(l)
contr1(2)
intin( 1)
contr1(3)
intout(l)
Opcode
=
17
o
Requested color index
o
Selected color index

Advertisement

Table of Contents
loading

Table of Contents