Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_int_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_int_rep(3g)  —  Subroutines

 

Name

pinq_int_rep − Returns the interior style value, interior style index, and interior color index. 

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

Syntax

void pinq_int_rep (
  Pint           wsid,          /∗ (I) Workstation identifier ∗/
  Pint           index,         /∗ (I) Interior index ∗/
  Pinq_type      return_type,   /∗ (I) Type of the returned value ∗/
  Pint          ∗error_ind,     /∗ (O) Error indicator ∗/
  Pint_bundle   ∗rep            /∗ (O) Interior 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_style   style;       /∗ interior style ∗/
    Pint         style_ind;   /∗ interior style index ∗/
    Pint         colr_ind;    /∗ interior color index ∗/
} Pint_bundle;
    typedef enum {
        PSTYLE_HOLLOW,   /∗ hollow interior ∗/
        PSTYLE_SOLID,    /∗ solid interior ∗/
        PSTYLE_PAT,      /∗ patterned interior ∗/
        PSTYLE_HATCH,    /∗ hatched interior ∗/
        PSTYLE_EMPTY     /∗ empty interior ∗/
    } Pint_style;

Description

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

See Also

pinq_int_rep_plus
pinq_pred_int_rep
pset_int_ind
pset_int_rep

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