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

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

Purpose

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

This structure element specifies an entry in the workstation's rendering color table that defines the color values that the graPHIGS API uses to render all output primitives to which this attribute applies. At structure traversal time, the graPHIGS API uses this index to render the output primitives when the polyline color aspect source flag is set to INDIVIDUAL (Set Individual ASF).

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

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

Language Bindings

C

pset_line_colr_ind (line_colr_ind)

Input Parameters

Pint line_colr_ind
Polyline color index.

FORTRAN

PSPLCI (coli)

Input Parameters

integer coli
Polyline color index.

Errors

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

Related Subroutines

  • Inquire Polyline Facilities

  • Inquire Polyline Representation

  • Set Individual ASF

  • Set Polyline Representation


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