well i would draw a big grid... where there is a definite address in each intersection.. like in BGI graphics mode say
Code:
10,10 15,10 20,10
10,15 15,15 20,15
| |
--------------------
| |
--------------------
| |
and so on...
and i will have functions which when i say connect(1,1,1,2)
which means connec 1,2 and 1,1
i will convert that to the actual position on the screen
say 1,1 might be 10,10 and 1,2 might be 10,15..
then i would call the function, line(10,10,10,15) which will connect those tow points...