Previous Next Up Title Contents General Index Functions Index Bookshelf

GET STROKE 3

PGTSK3


CALL SEQUENCE

PGTSK3 (N, VIEWI, NP, PXA, PYA, PZA)

INPUT PARAMETERS

INTEGER	N

OUTPUT PARAMETERS

INTEGER	VIEWI
INTEGER	NP
REAL	PXA(N), PYA(N), PZA(N)

ARGUMENTS

N
Length of vector to be returned.
VIEWI
View index.
NP
Number of event points.
PXA(N), PYA(N), PZA(N)
Points in WC.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Reads a 3D STROKE event. The STROKE logical input value is read in the current event report in the PHIGS state list. It is composed of points in WC and of the view index used to convert these points from NPC to WC when the event is placed in the queue. The stroke point list size must have at least the input buffer size given by the N parameter

Example:

C Event stroke 
	INTEGER N,VIEWI,NP
	REQL PXA(10),PYA(10),PZA(10)
	......
	N = 10
	call PGTSK3(N,VIEWI,NP,PXA,PYA,PZA)
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
259
Ignoring function, the input device class of the current input report does not match the class

SEE ALSO

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


Previous Next Up Title Contents General Index Functions Index Bookshelf