circles and arcs are incorrectly drawn (bezier appoximation)
Bug #168218 reported by
Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Created a circle (in the attachment the red one), duplicated it by Ctrl+D
(the green one). Then changed green full circle into arc. Depending on
start and end angle the perfect circle section becomes slightly deformed
(so the red circle underneath becomes visible). Is that intentional or a
bug?
<email address hidden>
Changed in inkscape: | |
milestone: | none → 0.47 |
To post a comment you must log in.
Originator: NO
Inkscape represent circles, arcs and ellipses using bezier curves. What
you see on the screen when you draw an circle in Inskcape is not a "perfect
circle" but an approximation of one using four cubiz bezier curves. It
think that the correctness of the approximation varies with arc length and
the number of curves used in it, and that's why you see the errors in your
example.
The correct solution, I guess, is to make Inkscape represent ellipses and
arcs as real SVG ones, and render them without the bezier approximation
way.
(Does anyone know why the decision was made to store ellipses as beziers
in the first place? Are there any benefits?)