Previous Next Up Title Contents General Index Functions Index Bookshelf

SAMPLE STROKE

PSMSK


CALL SEQUENCE

PSMSK (WKID, SKDNR, N, VIEWI, NP, PXA, PYA)

INPUT PARAMETERS

INTEGER	WKID
INTEGER	SKDNR
INTEGER	N

OUTPUT PARAMETERS

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 input.
VIEWI
View number in which selection was made.
NP
Number of points on current curve.
PXA(N), PYA(N)
Current curve point coordinates (WC).

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Restricts the 3D sample stroke function to 2D.

Reads a set of 2D points in WC space composing the current measure of 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
252
Ignoring function, the function requires the input device to be in SAMPLE mode

SEE ALSO

sample stroke 3, set stroke mode, initialize stroke, request stroke, get stroke, await event, inquire stroke device state, inquire default stroke device state


Previous Next Up Title Contents General Index Functions Index Bookshelf