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

SET INTERIOR REPRESENTATION (PHOP,WSOP,*,*)

Purpose

Use Set Interior Representation 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 set to OFF and the interior style is EMPTY, then the graPHIGS API generates no visual output. The interior is detectable when the graPHIGS API encounters a primitive with an interior style of EMPTY and the primitive is eligible for picking, as determined by its visibility and detectability.

If the edge flag is OFF and the interior style is HOLLOW, then the graPHIGS API draws the boundary. When the graPHIGS API encounters a primitive with an interior style of HOLLOW only the boundary of the primitive is eligible for picking, as determined by its visibility and detectability.

Language Bindings

C

pset_int_rep (ws_id, int_ind, int_bundle)

Input Parameters

Pint ws_id
Workstation identifier.

Pint int_ind
Interior bundle index (>=1).

const Pint_bundle *int_bundle
Interior representation.

FORTRAN

PSIR (wkid, ii, ints, styli, coli)

Input Parameters

integer wkid
Workstation identifier.

integer ii
Interior index (>=1).

integer ints
Interior style (0=PHOLLO, 1=PSOLID, 2=PPATTR, 3=PHATCH, 4=PISEMP).

integer styli
Interior style index (>=1).

integer coli
Interior color index (>=0).

Errors

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
59
Specified Workstation Does Not Have Output Capability
100
Bundle Index Value Is Less Than One
103
Exceeded Maximum Number Of Workstation Bundle Table Entries
108
Specified Interior Style Not Available On Workstation
112
Pattern Index Value < ONE
113
Color Index Value < ZERO

Related Subroutines

  • Inquire Interior Representation

  • Set Color Model

  • Set Individual ASF

  • Set Interior Color Index

  • Set Interior Index

  • Set Interior Style Index


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