Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_pred_line_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_pred_line_rep(3g)  —  Subroutines

Name

pinq_pred_line_rep − Returns the line type, line width scale factor, and polyline color index for a polyline index. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Syntax

void pinq_pred_line_rep (
  Pint           wstype,     /∗ (I) Workstation type ∗/
  Pint           index,      /∗ (I) Predefined polyline index ∗/
  Pint          ∗error_ind,  /∗ (O) Error indicator ∗/
  Pline_bundle  ∗rep         /∗ (O) Predefined polyline representation ∗/
)

 

Data Structures

typedef struct {
    Pint      type;      /∗ line type ∗/
    Pfloat    width;     /∗ line width scale factor ∗/
    Pint      colr_ind;  /∗ color index ∗/
} Pline_bundle;

Constants

Data Structure Constants     Constant               Description
---------------------------------------------------------------------------
Line types                   PLINE_SOLID            Solid line
                             PLINE_DASH             Dashed line
                             PLINE_DOT              Dotted line
                             PLINE_DOTDASH          Dashed-dotted line
                             PLINE_DASH_2_DOT       Dash-2-dots line
                             PLINE_DASH_3_DOT       Dash-3-dots line
                             PLINE_LONG_DASH        Long dashed line
                             PLINE_LONG_SHORT_DAS   Long-short dashed line
                             PLINE_SPACED_DASH      Spaced dashed line
                             PLINE_SPACED_DOT       Spaced dotted line
                             PLINE_DOUBLE_DOT       Double-dotted line
                             PLINE_TRIPLE_DOT       Triple-dotted line
                             PLINE_CENTER           Long line, dash, long
                                                    line
                             PLINE_PHANTOM          Long line, two dashes,
                                                    long line
---------------------------------------------------------------------------

Description

pinq_pred_line_rep queries the workstation description table and returns the line type, the line width scale factor, and the polyline color index for the specified polyline index. 

See Also

pinq_line_facs
pinq_line_facs_plus
pinq_line_rep
pinq_line_rep_plus
pinq_pred_line_rep_plus
pset_line_ind
pset_line_rep
pset_line_rep_plus

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