ReStroke

typedef struct ReStroke_tag {
  long color;
  long thickness;
  long timestamp;
  void *user_data;
  long x0,y0;
  long x1,y1;
} ReStroke;
      

Elemente:

color
Specifies the color information.
COLOR_BINARYBlack and white image
COLOR_GRAYGray image
COLOR_RGBColor image
thickness
Stroke thickness.
timestamp
Generation time of the stroke.
*user_data
Free for private use.
x0,y0,x1,y1
The coordinates of the start and end points of the stroke.

Reference: