Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqpcr(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQPCR(3g)  —  Subroutines

Name

PQPCR − Returns predefined color triplet of the index. 

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

Old Syntax

PQPCR (WTYPE, PCI, ERRIND, C1, C2, C3)

 

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
PCI               Integer        Read      Predefined color index
ERRIND            Integer        Write     Error indicator
C1, C2, C3        Real           Write     Color components
---------------------------------------------------------------------------

New Syntax

PQPCR (WTYPE, PCI, CCSBSZ, ERRIND, OL, CSPEC)

 

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
PCI               Integer        Read      Predefined color index
CCSBSZ            Integer        Read      Buffer size of the color
                                           component specification
ERRIND            Integer        Write     Error indicator
OL                Integer        Write     Number of color components in the
                                           color specification
CSPEC(CCSBSZ)     Array of       Write     Color specification
                  reals
---------------------------------------------------------------------------

Description

PQPCR queries the workstation description table and returns the color triplet of the specified index.  The color triplet values are the coordinates of the color in the default color model for the specified workstation type. 

See Also

PQCMDF
PQCR
PQECI
PSCR

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