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

GPPLI - Set Polyline Index

GPPLI (index)

Purpose

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

This structure element specifies an entry in the workstation's polyline bundle table. The entry contains attribute settings for line type, line width scale factor, and color. At structure traversal time, the graPHIGS API uses these attribute settings to render all subsequent polyline primitives for those attributes that have an aspect source flag set to 1=BUNDLED

The traversal default value for polyline index is 1.

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

Parameters

index -- specified by user, fullword integer

Polyline 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
GPQXLR
Inquire Extended Polyline Representation
GPXPLR
Set Extended Polyline Representation

RCP code

201328385 (X'0C000701')


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