Hi,
Looking at the different forums, I see that it's possible to draw an arc knowing the starting angle and the ending angle.
But, has someone developed a little code which permits to draw an arc only with 2 points and the radius ?
for instance:
On a map (the flat eath with any projection) I define 2 points. The code draw the arc with the radius (on one side of the line joining the 2 points).
I find something like this
??? a part of my message was cleared !!!!
x1,y1,x1,y2 : positions of the 2 points
radius, radieus of the arc
side, the side in which the arc has to be drawn (laft.right,up,down) regarding to the line which joins the 2 points.
if there is no answer, I'll develope the code or adapt one.
Looking at the different forums, I see that it's possible to draw an arc knowing the starting angle and the ending angle.
But, has someone developed a little code which permits to draw an arc only with 2 points and the radius ?
for instance:
On a map (the flat eath with any projection) I define 2 points. The code draw the arc with the radius (on one side of the line joining the 2 points).
I find something like this
drawArc2points:
sub DrawArc2points(x1 as int,y1 as int,x2 as int,y2 as int,radius a int, side as boolean)
....
end sub
??? a part of my message was cleared !!!!
x1,y1,x1,y2 : positions of the 2 points
radius, radieus of the arc
side, the side in which the arc has to be drawn (laft.right,up,down) regarding to the line which joins the 2 points.
if there is no answer, I'll develope the code or adapt one.