Re: why are circles often represented as two arcs

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.graphics.inkscape.devel
Message-ID <[email protected]>
On Wed, Feb 13, 2019 at 11:15:41AM +0100, bryan rasmussen wrote:
> As per the subject line I often notice that what comes out of inkscape and
> other svg capable editors uses paths to represent circles and other simple
> shapes. I suppose this is for some reason of code optimization (i.e code
> optimization in the editor not in the output SVG).
> Can anyone shed any light on this?

Yes, in vector graphics Bézier curves are a wonderful generalized way to
create shapes.  Once you have the code to do them, all the other shapes
can just use the same rendering code if you represent them the same way.

The way the SVG specification is written, I'm not surprised that other
SVG editors also use paths for representing basic geometrical shapes.

Bryce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.