Refactor frame and markup code to use paths.
- CD frames are currently broken.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user