void psample_stroke3
Pint ws_id, /* workstation identifier */ Pint stroke_dev, /* stroke device number */ Pint *view_index, /* (out) view index */ Ppoint_list3 *stroke_pos /* (out) stroke */
)
typedef struct {
Pint num_points; /* number of Ppoint3s in the list */
Ppoint3 *points; /* list of points */
} Ppoint_list3;
typedef struct {
Pfloat x; /* x coordinate */
Pfloat y; /* y coordinate */
Pfloat z; /* z coordinate */
} Ppoint3;
(PHOP, WSOP, *, *).
Example:
/* Sample stroke on workstation number 1 using device number 1 */ Pint ws_id,stroke_dev;view_index; Ppoint points[10]; Ppoint_list stroke_pos ; ..... ws_id = 1; stroke_dev = 1; stroke_pos.points = points; psample_stroke(ws_id,stroke_dev,&view_index,&stroke_pos); ......