gr_record_add_point

Syntax:

gr_record_add_point(record, x, y, [stroke_number]);
Argument name Type Description
record Record The record to add the point
x real The point x coordinate (usually, you want to use mouse_x)
y real The point y coordinate (usually, you want to use mouse_y)
stroke_number integer The stroke number, by default is stroke 0

Description:

Adds a point to the record. Check gr_record_create for a complete example.