set_point
Description:
Sets the coordinates of a point in the CanvasPoints struct.
Parameters:
| this |
a CanvasPoints struct. |
| idx |
index of point to set. |
| x |
x value to set point coordinate to. |
| y |
y value to set point coordinate to. |