1

I looked into this question which basically is the same question: Circle drawing with SVG's arc path

But it never gets cleared WHY its not possible to draw a full circle with only one arc. SVG arcs allow to specify a largeArcFlag which says: "Take the longer route to the endpoint". So if I have an arc segment which starts and stops at the same point, I would expect that it draws me a full circle when the largeArcFlag is set.

Can someone point me to the specification, saying, that a full circle is just not defined or not allowed?

In my eyes it would totally make sense to allow it

Fuzzyma
  • 7,619
  • 6
  • 28
  • 60

1 Answers1

3

The SVG specification says

If the endpoints (x1, y1) and (x2, y2) are identical, then this is equivalent to omitting the elliptical arc segment entirely.

Robert Longson
  • 118,664
  • 26
  • 252
  • 242
  • Strange - but at least its written down somewhere. I will refer to the mailing list then and see if I can get an explanation – Fuzzyma May 24 '18 at 10:39
  • 1
    Have you tried doing this on a piece of graph paper with the information you're given if the start/end points are at the same place. There's not a unique solution. – Robert Longson May 24 '18 at 10:51
  • oh - thats indeed pretty clear. I give it much thougts but didnt see the most obvious. Thanks for your clarification! – Fuzzyma May 24 '18 at 11:23