REQUEST STROKE 3
CALL SEQUENCE
PRQSK3 (WKID, SKDNR, N, STAT, VIEWI, NP, PXA, PYA, PZA)
INPUT PARAMETERS
INTEGER WKID
INTEGER SKDNR
INTEGER N
OUTPUT PARAMETERS
INTEGER STAT
INTEGER VIEWI
INTEGER NP
REAL PXA(N), PYA(N), PZA(N)
ARGUMENTS
- WKID
- Workstation identifier.
- SKDNR
- STROKE3 input device identifier.
- N
- Maximum number of points to be returned.
- STAT
- State of request carried out.
- PNONE:
- 0 (NONE)
- POK:
- 1 (OK)
- VIEWI
- View number in which the points have been selected.
- NP
- Number of points selected.
- PXA(N), PYA(N), PZA(N)
- Coordinates of selected points (WC).
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Request a set of 3D points in WC space by successive user action on the active
input device SKDNR .
Example:
C Request stroke
INTEGER WKID,SKDNR,N,STAT,VIEWI,NP
REQL PXA(10),PYA(10),PZA(10)
......
WKID = 1
SKDNR = 1
N = 10
call PRQSK3(WKID,SKDNR,N,STAT,VIEWI,NP,PXA,PYA,PZA)
......
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 61
- Ignoring function, specified workstation is neither of category INPUT nor
of category OUTIN
- 250
- Ignoring function, the specified device is not available on the specified
workstation
- 251
- Ignoring function, the function requires the input device to be in REQUEST
mode
SEE ALSO
set stroke mode, initialize stroke 3, sample stroke 3, get stroke 3, await
event, inquire stroke device state 3, inquire default stroke device state 3
