Decimals in Inkscape.

General discussions about Inkscape.
GAZ082
Posts: 4
Joined: Tue Mar 24, 2015 6:03 am

Decimals in Inkscape.

Postby GAZ082 » Tue Mar 24, 2015 6:09 am

Hello there. Why when i do divides, subtract, basically, shape operations the size of the result shape is no exactly, ie, half if i divide by two, and instead is half + a random number with several decimals? This really pisses me off.

Also, when i try to resize a shape, i have : 32.00164 px and try to just reize to 32.0000 px, Inkscape refuses and sets me back to 32.00164. Another issue that infuriates me! SVG was supposed to be precise, Inkscape is playing tricks on me!

I'm running 0.91

I appreciate any comments/tips/solution.

Thanks!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Decimals in Inkscape.

Postby Lazur » Tue Mar 24, 2015 7:19 am

Hi.

Boolean operations like subtract forces a recalculation of the path, which results in some rounding errors.
Resizing can get tricky when you have a stroke set, though five decimals can only be seen through the xml editor (?).

The only way I know of to increase the accuracy is in the (Shift+Ctrl+P) at the svg output options.


Another thing to consider is that the Bézier is not a "precise curve".
Maybe add nodes to the right and left extreme points of the path and see if it will improve the error.


Return to “General Discussions”