SAMPLE STROKE 3
CALL SEQUENCE
PSMSK3 (WKID, SKDNR, N, VIEWI, NP, PXA, PYA, PZA)
INPUT PARAMETERS
INTEGER WKID
INTEGER SKDNR
INTEGER N
OUTPUT PARAMETERS
INTEGER VIEWI
REAL PXA(N), PYA(N), PZA(N)
ARGUMENTS
- WKID
- Workstation identifier.
- SKDNR
- STROKE input device identifier.
- N
- Maximum number of points to be input.
- VIEWI
- Current curve view number
- PXA(N), PYA(N), PZA(N)
- Current curve point coordinates (WC).
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Reads a set of 3D points in WC space composing the current measure of the
active input device SKDNR.
Example:
C Sample stroke
INTEGER WKID,SKDNR,N,VIEWI,NP
REQL PXA(10),PYA(10),PZA(10)
......
WKID = 1
SKDNR = 1
N = 10
call PSMSK3(WKID,SKDNR,N,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
- 252
- Ignoring function, the function requires the input device to be in SAMPLE
mode
SEE ALSO
sample stroke , set stroke mode, initialize stroke 3, request stroke 3, get
stroke 3, await event, inquire stroke device state 3, inquire default stroke
device state 3
