Page 1 of 1
Multiple points on Links

Posted:
February 15th, 2007, 9:59 pm
by MrBaseball34
Is there a way to add points to links to make them like this:
- Code: Select all
-----------
| |
| |------O
| | |
----------- |
| -----------
| | |
O----->| |
| |
-----------

Posted:
February 15th, 2007, 11:33 pm
by kokkoras
yes! please check the help file.

Posted:
February 16th, 2007, 2:59 pm
by MrBaseball34
Inserting points on a link is troublesome because you don't
know at what point.. However, I'd like to be able to do something
like in Adobe Illustrator, have a special cursor that will add points and intercept the click of the line of the link and add the point at that
position.
How would I do that?

Posted:
February 16th, 2007, 3:29 pm
by MrBaseball34
I also need to know how to remove a particular point. Is there a way
to get the index of the point that was clicked on? How would I know
where to insert a point in the index if I clicked between two of three or
more points?

Posted:
February 16th, 2007, 6:01 pm
by kokkoras
Please check the help menu of the demo app of the latest TSimpleraph.
I am pasting some tips:
DRAG LINK If the link does not have any fixed point, moves the link.
DRAG POINT If the point is not fixed, moves the point. If the point is an endpoint, and ALT key is not down, dropping the point on an object establishes a link.
ALT+CLICK POINT If the point is not fixed, removes the point.
ALT+CLICK LINE If the link is not marked as fixed, inserts a new breakpoint at the clicked coordinates.
RIGHT+CLICK If a point is dragged, inserts a new breakpoint. The source point of the drag action, keeps its dragging state.
check the source of the demo app - it's easy