Added unit-independent distance type.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user