[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPISI - Set Interior Style Index
Purpose
Use
GPISI to insert a Set Interior Style Index
structure element into the open structure following the
element pointer or to replace the element pointed at by the
element pointer with a Set Interior Style Index structure
element depending on the current edit mode.
This structure element specifies an index into the
workstation hatch table if the current interior style
is
4=HATCH
If the current interior style is
3=PATTERN
,
then this structure element specifies an index into
the workstation pattern table.
The graPHIGS API uses this value at structure traversal time
when rendering all subsequent area defining primitives when
the interior style index aspect source flag
is set to
2=INDIVIDUAL
If the current interior style is
not a hatch or
pattern interior style, then the graPHIGS API ignores this
structure element and the element counter is simply
incremented.
The traversal default interior style index value is 1.
If the workstation does not support the specified index,
then the interior style index defaults to a value of 1.
Parameters
index -- specified by user, fullword integer
Interior style index (>=1)
The default hatch table for workstations is defined as
follows:
- Vertical lines.
- Horizontal lines.
- Diagonal lines, lower left to upper right, wide spacing.
- Diagonal lines, lower left to upper right, medium spacing.
- Diagonal lines, lower right to upper left, wide spacing.
- Diagonal lines, lower right to upper left, medium spacing.
- Raster pattern 1.
- Raster pattern 2.
- Raster pattern 3.
- Raster pattern 4.
- Raster pattern 5.
- Raster pattern 6.
- Raster pattern 7.
- Raster pattern 8.
- Horizontal/Vertical cross-hatch, spacing 1.
- Diagonal cross-hatch, spacing 1.
- Horizontal/Vertical cross-hatch, spacing 2.
- Diagonal cross-hatch, spacing 2.
- Horizontal/Vertical cross-hatch, spacing 3.
- Diagonal cross-hatch, spacing 3.
- Horizontal/Vertical cross-hatch, spacing 4.
- Diagonal cross-hatch, spacing 4.
- Brick pattern, horizontal.
- Brick pattern, diagonal.
Error Codes
- 5
- FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
- 84
- INTERIOR STYLE INDEX VALUE < ONE
Related Subroutines
- GPASF
- Attribute Source Flag Setting
- GPHR
- Set Hatch Representation
- GPIS
- Set Interior Style
- GPPAR
- Set Pattern Representation
- GPQIF
- Inquire Interior Facilities
- GPQPIR
- Inquire Predefined Interior Representation
- GPQXIR
- Inquire Extended Interior Representation
- GPXIR
- Set Extended Interior Representation
RCP code
201328898
(X'0C000902')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]