Click here to Skip to main content
15,888,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
the text boxes is used to key in the value of x position n y position. then how to make line to locate the keyin position?
Posted

1 solution

Calculate a line path between the current position and the destination position, chop it into a bunch of small segments, and move the point one segment at a time until it reaches the new destination.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900