Logical Help Required

Associate
Joined
11 Jan 2005
Posts
1,053
Location
Bognor Regis
I need some help with my program logic if this is possible. Im not sure of the relevence but Im using Java however any pseudo code would be handy I can probably pick up the jist. I have a list of coords and example of which follows:

200,200
200,420
120,420
120,550
(final set of coords will be external values called a,b)

I want to graphically draw lines between these coords so from: x=200 y=200 to x=200 y=420 then from x=200 y=420 to x=120 y=420 etc....

at the moment I can get my head round how to do it logically I am using an iterator to go through the values and extract to coords but I need the next set of coords as well.

If this is jibberish please tell me and I will try to clarify it.
 
Good job
icon14.gif
 
Back
Top Bottom