Board index » delphi » Vector drawing program

Vector drawing program

Hi,

I'm looking for some information on how to implement a function that
does the following:
I'm currently writing a program to draw some building structures. The
user has to draw the structure with seprate lines.
The problem is: how do I record the line that the user draws, so that
when he later click the line it's automatically selected (Like other
vector oriented programs do).
So my program needs to recognize which line the user clicks and then
select that line so that the can adjust it.

What's the best way to implement this ?

Franc.

 

Re:Vector drawing program


pla...@ib.com (Franc v/d Westelaken) wrote:

Quote
>Hi,
>I'm looking for some information on how to implement a function that
>does the following:
>I'm currently writing a program to draw some building structures. The
>user has to draw the structure with seprate lines.
>The problem is: how do I record the line that the user draws, so that
>when he later click the line it's automatically selected (Like other
>vector oriented programs do).
>So my program needs to recognize which line the user clicks and then
>select that line so that the can adjust it.
>What's the best way to implement this ?

It sounds like you need the Mobius Drawkit component. I saw a demo of
this some time ago and it looked really impressive. It claims to be
the only component of its kind. I'm tempted to buy it myself, but I
like doing things the hard way :-).

Check out http://205.218.23.26/mobius/.

Regards,

--
Bob Cousins, Software Engineer.
http://www.demon.co.uk/sirius-{*word*104}netics/

Other Threads