Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 9th, 2024, 2:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: line draw between two objects
PostPosted: February 25th, 2006, 3:36 pm 
Offline

Joined: November 11th, 2004, 1:43 pm
Posts: 172
Location: Buckinghamshire, UK
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group