Canvas: Draw Arc

What am I doing wrong here? I'm expecting Arcs of Radius 50 to sit on the line.........

ArcTest.aia (2.3 KB)

Maybe this:

grafik

Very close - tinker to get them in the correct position. It's a pretty strange way to define arcs though? Must be for historical reasons but surely center, radius, sweep angle would make more sense.

The basics first.

Using a canvas 240 x 240.

Draw a Circle using drawArc:

image

image

Now draw to your requirements:

image

Like this?

1 Like

Thanks guys, looks like you have nailed it! :sunglasses:

...to what? How should one know what exactly was wanted?

Apparently, with two quotes in it, "the post is empty" :upside_down_face:

End points of arcs should satisfy line equation, whose end points are x1,y1 and x2,y2, even in appearance.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.