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

SET INTERIOR COLOR INDEX (PHOP,*,STOP,*)

Purpose

Use Set Interior Color Index to insert a Set Interior Color Index structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Interior Color Index structure element, depending on the current edit mode. This structure element specifies an entry in the workstation's rendering color table. The graPHIGS API uses the color values contained in the color table to fill all subsequent area defining primitives if the interior style is set to HOLLOW (Set Interior Style) and edge is OFF (Set Edge Flag) or the interior style is set to SOLID or HATCH.

At structure traversal time, the graPHIGS API uses this index to render the interiors when the interior color aspect source flag is set to INDIVIDUAL (Set Individual ASF).

The traversal default for interior color is a color index value of 1.

If the workstation does not support the specified interior color index or the specified index is outside the color table limit, then the interior color index defaults to a value of 1.

Language Bindings

C

pset_int_colr_ind (int_colr_ind)

Input Parameters

Pint int_colr_ind
Interior color index (>=0).

FORTRAN

PSICI (coli)

Input Parameters

integer coli
Interior color index (>=0).

Errors

5
Function Requires State (PHOP,*,STOP,*)
113
Color Index Value < ZERO

Related Subroutines

  • Inquire Workstation State Table Lengths

  • Inquire Interior Representation

  • Set Interior Representation


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