Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqpks(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQPKS(3g)  —  Subroutines

Name

PQPKS − Returns information about the pick device state. 

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

Syntax

PQPKS (WKID, PKDNR, TYPE, MLDR, IPISSZ, IPESSZ, IPPSZ, ERRIND, MODE,
ESW, PISSZ, PINS, PESSZ, PES, ISTAT, PPD, PP, PET, EAREA, LDR, DATREC,
PPORDR)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WKID              Integer        Read      Workstation identifier
PKDNR             Integer        Read      Pick device number
TYPE              Integer        Read      Type of the returned values
MLDR              Integer        Read      Size of the data record array,
                                           in bytes
IPISSZ            Integer        Read      Pick inclusion set buffer size
IPESSZ            Integer        Read      Pick exclusion set buffer size
IPPSZ             Integer        Read      Pick path buffer size
ERRIND            Integer        Write     Error indicator
MODE              Integer        Write     Operating mode
ESW               Integer        Write     Echo switch
PISSZ             Integer        Write     Pick inclusion set size
PINS(IPISSZ)      Array of       Write     Pick inclusion set
                  integers
PESSZ             Integer        Write     Pick exclusion set size
PES(IPESSZ)       Array of       Write     Pick exclusion set
                  integers
ISTAT             Integer        Write     Initial status
PPD               Integer        Write     Pick path depth
PP(3, IPPSZ)      Integer        Write     Pick path
PET               Integer        Write     Prompt and echo type
EAREA(4)          Array of       Write     Echo area, in device coordinates
                  reals                    (XMIN, XMAX, YMIN, YMAX)
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
PPORDR            Integer        Write     Pick path order
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
TYPE                 PSET         Use the exact state list values.
                     PREALI       Use the values approximated by the
                                  graphics handler.
MODE                 PREQU        Request mode.
                     PSAMPL       Sample mode.
                     PEVENT       Event mode.
ESW                  PNECHO       Echo disabled.
                     PECHO        Echo enabled.
ISTAT                POK          An initial choice exists.
                     PNCHOI       An initial choice does not exist.
PPORDR               PPOTOP       Top first.
                     PPOBOT       Bottom first.
---------------------------------------------------------------------------

Description

PQPKS queries the workstation state list and returns values for the following:

•Operating mode

•Echo switch

•Pick inclusion filter

•Pick exclusion filter

•Initial status

•Initial pick path

•Prompt and echo type

•Echo area in device coordinates

•Pick data record

•Pick path order

See Chapter 9 for information on building data records for initializing input devices. 

See Also

PINPK
PQPKS3
PSPKFT
PSPKM

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