Hello
I'm wondering what would be the best solution to add a corner point into a line.
A bit like a vectorial application editing with the add vertex tool.
I only have a set of 2D vector so there isn't really a line object.
The 2D vectors are store into a TList object.

I would probably be able to add new link between 2 points based on a certain "active" area around the line.
Currently I'm using the nearest link to the mouse position and add my new point after this link in the list.
Do you know any existing solution ?
Thanks
I'm wondering what would be the best solution to add a corner point into a line.
A bit like a vectorial application editing with the add vertex tool.
I only have a set of 2D vector so there isn't really a line object.
The 2D vectors are store into a TList object.

I would probably be able to add new link between 2 points based on a certain "active" area around the line.
Currently I'm using the nearest link to the mouse position and add my new point after this link in the list.
Do you know any existing solution ?
Thanks