Added unit-independent distance type.

This commit is contained in:
Jim Evins
2016-03-13 21:03:09 -04:00
parent 573369b6da
commit a6aa0d921f
74 changed files with 1452 additions and 996 deletions
+3 -2
View File
@@ -22,7 +22,7 @@
#define libglabels_privateConstants_h
#include <QString>
#include "Distance.h"
namespace libglabels
@@ -31,7 +31,8 @@ namespace libglabels
namespace Constants
{
const double EPSILON = 0.5; /* Allowed error when comparing dimensions. (0.5pts ~= .007in ~= .2mm) */
const Distance EPSILON( 0.5, Distance::Units::PT );
}
}