GET STROKE
CALL SEQUENCE
void pget_stroke (view_index, stroke)
OUTPUT PARAMETERS
Pint *view_index,
Ppoint_list *stroke
ARGUMENTS
- view_index,
- View index
- stroke
- Stroke position
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
This function restricts the 3D get stroke function to 2D, the z is
ignored.
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 3, set stroke mode, initialize stroke, request stroke, sample
stroke, await event, flush device events, inquire stroke device state, inquire
default stroke device state
