Refactor frame and markup code to use paths.

- CD frames are currently broken.
This commit is contained in:
Jim Evins
2015-08-12 01:20:52 -04:00
parent 0ad6caeeca
commit 721746007c
13 changed files with 110 additions and 164 deletions
+4 -4
View File
@@ -43,11 +43,11 @@ namespace libglabels
double w() const;
double h() const;
const QString sizeDescription( const Units *units ) const;
bool isSimilarTo( Frame *other ) const;
const QString sizeDescription( const Units* units ) const;
bool isSimilarTo( Frame* other ) const;
const QPainterPath &path( bool isRotated ) const;
QGraphicsItem* createMarginGraphicsItem( double size, const QPen& pen ) const;
const QPainterPath& path() const;
QPainterPath marginPath( double size ) const;
private: