Refactor frame and markup code to use paths.
- CD frames are currently broken.
This commit is contained in:
+2
-4
@@ -25,7 +25,6 @@
|
||||
#include <QString>
|
||||
#include <QList>
|
||||
#include <QPainterPath>
|
||||
#include <QGraphicsItem>
|
||||
#include <QVector>
|
||||
|
||||
#include "Units.h"
|
||||
@@ -66,9 +65,8 @@ namespace libglabels
|
||||
virtual const QString sizeDescription( const Units* units ) const = 0;
|
||||
virtual bool isSimilarTo( Frame* other ) const = 0;
|
||||
|
||||
virtual const QPainterPath &path( bool isRotated = false ) const = 0;
|
||||
virtual QGraphicsItem* createMarginGraphicsItem( double size,
|
||||
const QPen& pen ) const = 0;
|
||||
virtual const QPainterPath& path() const = 0;
|
||||
virtual QPainterPath marginPath( double size ) const = 0;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user