NEC CP/M-86 System Reference Manual page 156

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the APe
9-24
Place Cursor At Location
This operation places the cursor/marker at the specified location. The cursor is
device-dependent and can be an underbar, block, and so on.
Input
Output
Remove Cursor
contr1(2)
contr1(6)
ptsin(l)
ptsin(2)
contr1(3)
2
Function ID
=
18
X-coordinate of location to place cursor
Y -coordinate of location to place cursor
o
This operation makes the cursor invisible on the screen.
Input
Output
POLYLINE
contrl(2)
contr1(6)
contr1(3)
o
Function ID
=
19
o
This operation displays a polyline on the graphics device. The starting point for the
polyline is the first point in the input array. Lines are drawn between subsequent
points in the array. Lines must exhibit the current line attributes: color, linetype, line
width.
Input
Output
contrl(l)
contr1(2)
ptsin
contr1(3)
Opcode
=
6
Number of vertices (X,Y pairs) in polyline
Array of coordinates of polyline in device
units (rasters, plotter steps, etc.)
ptsin(l) -- X-coordinate of first point
ptsin(2) -- Y-coordinate of first point
ptsin(3) -- X-coordinate of second point
ptsin(4) -- Y-coordinate of second point
ptsin(2n-l) -- X-coordinate of last point
ptsin(2n)
-- Y-coordinate of last point
o

Advertisement

Table of Contents
loading

Table of Contents