Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqpap(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQPAP(3g)  —  Subroutines

Name

PQPAP − Returns extended pattern index information. 

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

Syntax

PQPAP (WKID, PAI, CCSBSZ, TYPE, DIMX, DIMY, ERRIND,
DX, DY, CTYPE, COLIA, NCC, COLRA)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WKID              Integer        Read      Workstation identifier
PAI               Integer        Read      Pattern index
CCSBSZ            Integer        Read      Color component specification
                                           buffer size
TYPE              Integer        Read      Type of values to return
DIMX, DIMY        Integer        Read      Maximum pattern array dimensions
ERRIND            Integer        Write     Error indicator
DX, DY            Integer        Write     Pattern color index array
                                           dimensions
CTYPE             Integer        Write     Color type
COLIA(DIMX,       Integer        Write     Pattern color index array
DIMY
NCC               Integer        Write     Number of components in the
                                           color value
COLRA(CCSBSZ)     Real           Write     Color components
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
TYPE                 PSET         Use the exact state list values.
                     PREALI       Use the values approximated by the
                                  graphics handler.
CTYPE                PINDIR       Indirect (indexed) color.
                     PRGB         Direct specification of red, green, and
                                  blue.
                     PCIE         Direct specification in the format of the
                                  Commission Internationale de l’Eclairage.
                     PHSV         Direct specification of hue, saturation,
                                  and value.
                     PHLS         Direct specification of hue, lightness,
                                  and saturation.
---------------------------------------------------------------------------

Description

PQPAP returns the values associated with the given pattern index value. 

Digital PHIGS Version 3.1 does not support this function.

See Also

PQEPAI
PQPAR
PQPPAR
PQPPAP
PSPAR
PSPAP

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