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

SET POLYLINE INDEX (PHOP,*,STOP,*)

Purpose

Use Set Polyline Index to insert a Set Polyline Index structure element into the open structure following the element pointer or 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 the attributes that have an aspect source flag set to BUNDLED (Set Individual ASF).

The traversal default value for polyline index is 1.

If the workstation does not support the specified polyline index or the specified index is outside the polyline bundle table size, then the polyline index defaults to a value of 1.

Language Bindings

C

pset_line_ind (line_ind)

Input Parameters

Pint line_ind
Polyline index (>=1).

FORTRAN

PSPLI (pli)

Input Parameters

integer pli
Polyline index (>=1).

Errors

5
Function Requires State (PHOP,*,STOP,*)
100
Bundle Index Value Is Less Than One

Related Subroutines

  • Inquire Polyline Representation

  • Inquire Workstation State Table Lengths

  • Set Polyline Representation


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