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

SET EDGETYPE (PHOP,*,STOP,*)

Purpose

Use Set Edgetype to insert a Set Edgetype structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Edgetype structure element, depending on the current edit mode.

This structure element specifies an index into a workstation line type table that contains line types. The graPHIGS API uses this index to render the edges of all subsequent output primitives if the corresponding edge flag is set to ON (Set Edge Flag). At structure traversal time, the graPHIGS API uses this line type to render the edges of output primitives when the line type of an edge aspect source flag is set to INDIVIDUAL (Set Individual ASF). Possible edge line types include: 1=SOLID, 2=DASHED, 3=DOTTED, and 4=DASHED-DOTTED.

The traversal default for edge type is SOLID.

If the workstation does not support the specified index or the specified index is outside the allowable range, then the edge index defaults to SOLID (edgetype).

Language Bindings

C

pset_edgetype (edgetype)

Input Parameters

Pint edgetype
Edge type (1=PLINE_SOLID, 2=PLINE_DASH, 3=PLINE_DOT, 4=PLINE_DASH_DOT).

FORTRAN

PSEDT (edtype)

Input Parameters

integer edtype
Edge type (1=PLSOLI, 2=PLDASH, 3=PLDOT, 4=PLDASD).

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Inquire Edge Representation

  • Inquire Predefined Edge Representation

  • Set edge Representation

  • Set Individual ASF


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