[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPIR - Set Interior Representation

GPIR (wsid, index, style, sindex, icol)

Purpose

Use GPIR to set the given attribute values in the specified table entry of the specified workstation.

The empty and hollow interior styles display nothing for the interior. If the edge flag is 1=OFF and the style is 5=EMPTY then no visual output is generated. The interior is detectable when a primitive with empty interior style is encountered and it is eligible for picking as determined by it visibility and detectability.

If the edge flag is 1=OFF and the style is 1=HOLLOW , then the boundary is drawn. When a primitive with hollow interior style is encountered only the boundary of the primitive is eligible for picking as determined by its visibility and detectability.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

index -- specified by user, fullword integer

Interior bundle table index (>=1) Index of bundle table entry to be loaded.

style -- specified by user, fullword integer

Interior style (1=HOLLOW, 2=SOLID, 3=PATTERN,4=HATCH, 5=EMPTY )

sindex -- specified by user, fullword integer

Interior style index (>=1) This index points into either the pattern or the hatch table, depending on the interior style of the polygon.

icol -- specified by user, fullword integer

Interior color index (>=0) For interiors of style solid or hatch, the specified color is used to draw the interior. For interior style hollow, with the edge set to 1=OFF , the specified color is used to draw the perimeter of the polygon.

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
43
BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
60
BUNDLE INDEX VALUE < ONE
83
INTERIOR STYLE NOT AVAILABLE ON WORKSTATION
84
INTERIOR STYLE INDEX VALUE < ONE
92
COLOR INDEX < ZERO
93
COLOR INDEX VALUE(S) EXCEED WORKSTATION TABLE CAPACITY
310
INTERIOR STYLE VALUE IS INVALID

Related Subroutines

GPXIR
Set Extended Interior Representation

RCP code

201329416 (X'0C000B08')


[ Previous | Next | Contents | Glossary | Home | Search ]