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

SET LINETYPE (PHOP,*,STOP,*)

Purpose

Use Set Linetype to insert a Set Linetype structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Linetype 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 all subsequent output primitives to which this attribute applies. At structure traversal time, the graPHIGS API uses this line type to render the output primitives when the line type aspect source flag is set to INDIVIDUAL (Set Individual ASF).

The traversal default for line type is SOLID.

If the workstation does not support the specified linetype entry or the specified entry is outside the allowable range, then the linetype defaults to SOLID.

Language Bindings

C

pset_linetype (linetype)

Input Parameters

Pint linetype
Line type (1=PLINE_SOLID, 2=PLINE_DASH, 3=PLINE_DOT, 4=PLINE_DASH_DOT).

FORTRAN

PSLN (ltype)

Input Parameters

integer ltype
Line type (1=PLSOLI, 2=PLDASH, 3=PLDOT, 4=PLDASD).

Errors

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

Related Subroutines

  • Inquire Polyline Facilities

  • Inquire Polyline Representation

  • Set Individual ASF

  • Set Polyline Representation


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