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

GPII - Set Interior Index

GPII (index)

Purpose

Use GPII to insert a Set Interior 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 Index structure element depending on the current edit mode.

This structure element specifies an entry in the workstation's interior bundle table. The entry contains attribute settings for interior style, interior style index, and color. At structure traversal time, the graPHIGS API uses these attribute settings to render all subsequent polygon primitives for those attributes which have an aspect source flag set to 1=BUNDLED

The traversal default interior index is 1.

If the workstation does not support the specified index, then the interior index defaults to a value of 1.

Parameters

index -- specified by user, fullword integer

Interior bundle table index (>=1)

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
60
BUNDLE INDEX VALUE < ONE

Related Subroutines

GPQLW
Inquire Length of Workstation State Tables
GPQXIR
Inquire Extended Interior Representation
GPXIR
Set Extended Interior Representation

RCP code

201328389 (X'0C000705')


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