Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_linewidth(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_linewidth(3g)  —  Subroutines

 

Name

pset_linewidth − Specifies the scale factor to be applied to the workstation’s nominal line width. 

 
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

void pset_linewidth (
  Pfloat     linewidth    /∗ (I) Line width scale factor.  The default
                                 value is 1.0. ∗/
)

Description

pset_linewidth specifies the line width scale factor to be applied to the workstation’s nominal line width.  Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set line width scale factor element. 

The set line width scale factor element produces the following results during structure traversal:

•Digital PHIGS sets the current line width scale factor entry in the PHIGS traversal state list to the specified value.  If the current line width scale factor ASF entry is INDIVIDUAL, Digital PHIGS uses the line width value when traversing subsequent polyline and polyline 3 primitives. If the corresponding ASF is BUNDLED, the value has no effect. 

•Digital PHIGS evaluates the magnitude of the line width scale factor. 

•Digital PHIGS applies the line width scale factor to the workstation’s nominal line width, and maps the resulting value to the closest value available on the workstation. 
 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

  See the pset_line_ind function for information about defining a bundled line width scale factor value. 

See Also

pinq_line_facs
ppolyline
ppolyline3
pnon_uniform_b_spline_curve3
pset_edgewidth
pset_indiv_asf
pset_line_rep

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026