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

SET LINEWIDTH SCALE FACTOR (PHOP,*,STOP,*)

Purpose

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

The Linewidth Scale Factor specifies the width of the line as a fraction of the nominal. The device support multiplies this scale factor by the nominal line width on the corresponding device to determine the requested width. The graPHIGS API maps the calculated value to the closest width available on the device. A scale factor value of 1.0 generates a nominal size line on any workstation. At structure traversal time, the graPHIGS API uses this scale factor when the line width scale factor aspect source flag is set to INDIVIDUAL (Set Individual ASF).

The traversal default value for linewidth scale factor is 1.0.

Language Bindings

C

pset_linewidth (linewidth)

Input Parameters

Pfloat linewidth
Line width scale factor.

FORTRAN

PSLWSC (lwidth)

Input Parameters

real lwidth
Line width scale factor.

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 ]