Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_line_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_line_rep(3g)  —  Subroutines

Name

pinq_line_rep − Returns the line type, line width scale factor, and polyline color index. 

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

Syntax

void pinq_line_rep (
  Pint           wsid,          /∗ (I) Workstation identifier ∗/
  Pint           index,         /∗ (I) Polyline index ∗/
  Pinq_type      return_type,   /∗ (I) Type of the returned values ∗/
  Pint          ∗error_ind,     /∗ (O) Error indicator ∗/
  Pline_bundle  ∗rep            /∗ (O) Polyline representation ∗/
)

 

Data Structures

typedef enum {
    PINQ_SET,        /∗ Use the exact state list values. ∗/
    PINQ_REALIZED    /∗ Use the values approximated by the graphics
                        handler. ∗/
} Pinq_type;
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_line_rep queries the workstation state list and returns the line type, the line width scale factor, and the polyline color index. 

If the specified polyline index is not in the polyline bundle table on the specified workstation, and the specified type of returned values is PINQ_REALIZED, Digital PHIGS returns the representation for polyline index 1. (See the Device Specifics Reference Manual for DEC GKS and DEC PHIGS for workstation-specific information.) 

See Also

pinq_list_line_inds
pinq_line_rep_plus
pinq_pred_line_rep
pinq_pred_line_rep_plus
pset_line_rep
pset_line_rep_plus

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