NEC CP/M-86 System Reference Manual page 167

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
SET FILL INTERIOR STYLE
This operation sets the fill interior style to be used in subsequent polygon fill
operations. If the requested style is not available, then Hollow should be used. The
style actually used is returned to the calling program.
Input
Output
contrl(l)
contrl(2)
intin( l)
contrl(3)
intout(l)
SET FILL STYLE INDEX
Opcode
=
23
o
Requested fill interior style
o -
Hollow
1 - Solid
2 - Pattern
3 - Hatch
o
Selected fill interior style
Select a fill style based on the fill interior style. This index has no effect if the interior
style is either Hollow or Solid. Indices go from 1 to a device-dependent maximum. If
the requested index is not available, index 1 should be used. The index references a
Hatch style if the fill interior style is Hatch, or it references a Pattern (stars, dots, and
so on) if the interior fill style is Pattern. For consistency, the hatch styles should be
implemented in the following order.
1 -- vertical lines
2 -- horizontal lines
3 -- +45
0
lines
4 -- -45
0
lines
>4 -- device-dependent
Input
Output
contrl( 1)
contrl(2)
intin( 1)
contrl(3)
intout(l)
Opcode
=
24
o
Requested fill style index for Pattern or
Hatch fill
o
Selected fill style index for Pattern or
Hatch fill
9-35

Advertisement

Table of Contents
loading

Table of Contents