adg: add AdgDimStyle:rounding
commitaca80a8aee66733159bddb431159fa6509a16860
authorNicola Fontana <ntd@entidi.it>
Tue, 24 Jan 2017 10:48:56 +0000 (24 11:48 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 24 Jan 2017 10:48:59 +0000 (24 11:48 +0100)
tree7085ca9b5b4837ffc5c98f04ed05d434749e97fb
parent9beb5c98a09e2daa00ac97a1b3fea922a9408c2c
adg: add AdgDimStyle:rounding

A new property that rounds the raw value to a specific number of
decimals. This is required because otherwise I get 59°60' instead of 60°
when using sexagesimal units.
src/adg/adg-dim-style-private.h
src/adg/adg-dim-style.c
src/adg/adg-dim-style.h
src/adg/tests/test-dim-style.c