Previous Next Up Title Contents Index Functions Index Top Library

SAMPLE STROKE

PSAMPLE_STROKE


CALL SEQUENCE

void psample_stroke(
)

TYPES

typedef struct {
	Pint	num_points;	/* number of Ppoints in the list	*/
	Ppoint	*points;	/* list of points	*/
} Ppoint_list;

typedef struct {
	Pfloat 	x;	/* x coordinate	*/
	Pfloat 	y;	/* y coordinate	*/
} Ppoint;

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 stroke_dev.

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 Index Functions Index Top Library