Putting together a page with drag/drop event for objects.
Using trigonometry, been able to determine the length (pixel) between two points. Using the x,y center values of the objects. With this value, been trying to find a way of dropping a line between the two objects centers.
Is this something that can be done in opus xe?
Been trying using a vector object but the rotations I get are slightly off the mark.
example...
page "fishy fishy draw lines trial", click first on icon and then on main pic, a vector line will be stretched, and rotated, this can be dragged between the two points marked by "X", this do not align as expected.
p.s The icon can initially be dragged to a new location before the second object is selected......
You do not have the required permissions to view the files attached to this post.
For this message eomc40 has been thanked by : mackavi
|