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
+5 -3
View File
@@ -1,6 +1,6 @@
/* SimplePreview.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -68,9 +68,11 @@ namespace glabels
private:
void update();
void clearScene();
void drawPaper( double pw, double ph );
void drawPaper( const libglabels::Distance& pw, const libglabels::Distance& ph );
void drawLabels();
void drawLabel( double x, double y, const QPainterPath &path );
void drawLabel( const libglabels::Distance& x,
const libglabels::Distance& y,
const QPainterPath& path );
void drawArrow();