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

GPIS - Set Interior Style

GPIS (style)

Purpose

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

This structure element specifies the way the graPHIGS API draws the interior of a polygon at structure traversal time when rendering all subsequent polygon (fill area) primitives. The graPHIGS API uses this style value when the interior style aspect source flag is set to 2=INDIVIDUAL

The traversal default for interior style is 1=HOLLOW

If the workstation does not support the specified interior style, then the interior style defaults to 1=HOLLOW

Parameters

style -- specified by user, fullword integer

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

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
310
INTERIOR STYLE VALUE IS INVALID

Related Subroutines

GPASF
Attribute Source Flag Setting
GPISI
Set Interior Style Index
GPQIF
Inquire Interior Facilities
GPQPIR
Inquire Predefined Interior Representation
GPQXIR
Inquire Extended Interior Representation
GPXIR
Set Extended Interior Representation

RCP code

201328897 (X'0C000901')


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