Correctly draw rotated labels.

This commit is contained in:
Jim Evins
2015-08-11 12:43:14 -04:00
parent 9bebf921b2
commit de8ec9b66a
7 changed files with 55 additions and 22 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ namespace libglabels
const QString sizeDescription( const Units *units ) const;
bool isSimilarTo( Frame *other ) const;
const QPainterPath &path() const { return mPath; }
const QPainterPath &path( bool isRotated ) const { return mPath; }
QGraphicsItem* createMarginGraphicsItem( double size, const QPen& pen ) const;