NEC CP/M-86 System Reference Manual page 160

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
Input
9-28
contrl(l)
contrl(2)
contrl(4)
contrl(6)
ptsin
intin
BAR
Opcode
=
11
Number of vertices in ptsin
Length of input array intin
Primitive ID
1 -- BAR uses fill area attributes (interior
style, fill style, fill color)
2 -- ARC uses line attributes (color, line-
type, width)
3 -- PIE SLICE uses fill area attributes
(interior style, fill style, fill color)
4 -- CIRCLE uses fill area attributes
(interior style, fill style, fill color)
5 -- PRINT GRAPHIC CHARACTERS
6 -- 7 are unused but reserved for future
expansion
8 -- 10 are unused and available for use
Array of coordinates of GDP in device
units
ptsin(l)
ptsin(2)
ptsin(3)
ptsin(4)
-- X-coordinate of first point
-- Y-coordinate of first point
-- X-coordina te of second
point
-- Y -coordina te of second
point
ptsin(2n-l) -- X-coordinate of last point
ptsin(2n)
-- Y-coordinate of last point
Data record
contrl(2)
contrl(6)
ptsin(l)
ptsin(2)
ptsin(3)
ptsin(4)
-- Number of vertices
=
2
-- 1
-- X-coordinate of lower left-
hand corner of bar
-- Y -coordina te of lower left-
hand corner of bar
-- X-coordinate of upper right-
hand corner of bar
-- Y-coordinate of upper right-
hand corner of bar

Advertisement

Table of Contents
loading

Table of Contents