REQUEST STROKE
CALL SEQUENCE
PRQSK (WKID, SKDNR, N, STAT, VIEWI, NP, PXA, PYA)
INPUT PARAMETERS
INTEGER WKID
INTEGER SKDNR
INTEGER N
OUTPUT PARAMETERS
INTEGER STAT
INTEGER VIEWI
INTEGER NP
REAL PXA(N), PYA(N)
ARGUMENTS
- WKID
- Workstation identifier.
- SKDNR
- STROKE 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)
- Coordinates of selected points (WC).
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Request a set of 2D points in WC space by successive user action on the active
input device SKDNR .
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, sample stroke, get stroke, await event,
inquire stroke device state, inquire default stroke device state 3