systematic errors in ellipse dimensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Markus Engel |
Bug Description
Inkscape rev 12648, Windows XP
I believe this affects only ellipses.
There is systematic error in the calculation of the geometric bbox of ellipses.
Attached is a file with 4 ellipses. They have fill, but no stroke. Using the Select tool to display the dimensions at the top of the display we get:
width width
expected actual ratio
160 159.889 1.000694
140 139.903 1.000693
120 119.917 1.000692
400 399.723 1.000693
height height
expected actual
160 159.995 1.000031
140 139.996 1.000029
120 119.996 1.000033
80 79.998 1.000025
The errors are very consistent, about 0.07% in width and about 0.003% in height, suggesting an analytic origin.
- not reproduced on Inkscape 0.48.4
Reproduced with r12660 on OS X 10.7.5
Based on tests with archived builds: bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 12594>
- not reproduced with revision <= 12593
- reproduced with revision >= 12594
this regression of the bounding box calculation of ellipse/circles was introduced in
Revision 12594: More refactoring, creation of member methods, ...
<http://