meazza
2nd August 2011, 08:41
Hello peeps.
Got a quick question. I am trying to rotate a subclass of QGraphicsTextItem. And the thing is when I rotate the text it gets deformed. (Se attachments).
In my QGraphicsView these flags are set.
view->setRenderHints(QPainter::SmoothPixmapTransform | QPainter::Antialiasing | QPainter::TextAntialiasing);.
The way I rotate the item is simple by calling the QGraphicsItem::rotate.
Dont really know what else I can do.
Got a quick question. I am trying to rotate a subclass of QGraphicsTextItem. And the thing is when I rotate the text it gets deformed. (Se attachments).
In my QGraphicsView these flags are set.
view->setRenderHints(QPainter::SmoothPixmapTransform | QPainter::Antialiasing | QPainter::TextAntialiasing);.
The way I rotate the item is simple by calling the QGraphicsItem::rotate.
Dont really know what else I can do.