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

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

Purpose

Use Set Edge Color Index to insert a Set Edge 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 Edge 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 the graPHIGS API will use to render the edges of all output primitives to which this attribute applies. At structure traversal time, the graPHIGS API uses this index to render the edges of output primitives when the edge color aspect source flag value is set to INDIVIDUAL (Set Individual ASF) and the edge flag is set to ON (Set Edge Flag).

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

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

Language Bindings

C

pset_edge_colr_ind (edge_colr_ind)

Input Parameters

Pint edge_colr_ind
Edge color index.

FORTRAN

PSEDCI (coli)

Input Parameters

integer coli
Edge color index.

Errors

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

Related Subroutines

  • Inquire Edge Representation

  • Inquire Predefined Edge Representation

  • Set Individual ASF


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