Inkscape is a Free and open source vector graphics editor for GNU/Linux, Windows and MacOS X. It offers a rich set of features and is widely used for both artistic and technical illustrations such as cartoons, clip art, logos, typography, diagramming and flowcharting. It uses vector graphics to allow for sharp printouts and renderings at unlimited resolution and is not bound to a fixed number of pixels like raster graphics. Inkscape uses the standardized SVG file format as its main format, which is supported by many other applications including web browsers.
Fix measure tool glitch at 180 degrees
When using the measure tool in Inkscape with an angle of exactly 180 degrees, weird glitches would appear on the screen. As it turns out, when calculating points for the arc that the measurement tool displays, a divide by zero will occur if the angle is either 0 or 180 degrees. This was fixed by checking for this, and assigning one of three correct values; the one for 180, -180 and 0 degrees.
Fix measure tool showing incorrect angle after reference change
When fixing the other measure tool issue I found this bug; where an angle > 180 was possible for the measure tool. I created an issue for this (see reference in merge request), and the fix was to check the range of the angle variable and add/subtract 360 degrees/2pi accordingly.
Reduce decimal precision for Grid options
The options for specifying Grid origin, spacing and angle has a 5 digit precision. This causes the text to overflow the assigned box. Reduced the precision to 3 digits. This still gives enough precision without causing a text overflow. This closes issue #1381